Frame 1
NewgroundsAPI.connectMovie(6587);
stopAllSounds();
stop();
stopAllSounds();
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("By Pinenana.com", doSomething);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
Frame 3
stop();
_root.quality = "low";
stopAllSounds();
_quality = "low";
_root.scored.score = 0;
Frame 4
stopAllSounds();
stop();
hwfiaub = 0;
started__ = false;
this.onEnterFrame = function () {
if (started__) {
if (Key.isDown(32)) {
if (wasnotdown) {
_root.speech.nextLine();
wasnotdown = false;
}
} else {
wasnotdown = true;
}
if (!_root.speech.speechactive) {
_root.ground.nextFrame();
onEnterFrame = function () {
};
}
} else {
if (hwfiaub > 15) {
_root.speech.displayText(new Array("Scrappy... Scrappy!!", "Come back here this instant!", "Scrappy boy! Stay away from that well!! Please!", "Come back scrappy, you don't know whats down there!!", "SCRAPPY!!!!", "....", "Argg.... silly dog."), "Tony");
started__ = true;
}
hwfiaub++;
}
};
Frame 5
_root.scored.score = "0";
_root.scored.levelno = 24;
Score = _root.scored.score;
score = 0;
key1 = false;
stop();
Instance of Symbol 157 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 161 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array("....", "Where the hell am I?"), "Tony");
}
}
}
Instance of Symbol 164 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
this.play();
}
}
Instance of Symbol 29 MovieClip "char" in Frame 5
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
_root.ROBERTSMENU._x = _root.char._x - (Stage.width / 2);
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 175 MovieClip "scored" in Frame 5
onClipEvent (load) {
origx = _x;
origy = _why;
}
onClipEvent (enterFrame) {
_x = (origx - _root._x);
_y = (origy - _root._y);
}
Frame 7
_root.scored.levelno = 23;
stop();
Instance of Symbol 181 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("The weakest part of a robot is always it's head.", "Try jumping on it."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("We always tell the truth. We are unbiased. Always."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 184 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Kanine intruder found in sector CA2.", "Currently being escorted to the slaughter room.", "All robots be warned of other intruders."), "Computer");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 7
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
_root.ROBERTSMENU._x = _root.char._x - (Stage.width / 2);
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Frame 9
_root.scored.levelno = 22;
_root.transition.gotoAndPlay(1);
stop();
Instance of Symbol 159 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 157 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.gotoAndPlay(11);
}
}
Instance of Symbol 190 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("....", "No idea what this is.", "Some sort of floating tile or something. "), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 190 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("....", "No idea what this is.", "Some sort of floating tile or something. "), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("C5A21's House."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 9
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Frame 10
_root.dd.gotoAndPlay(1);
stop();
Instance of Symbol 159 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 199 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Hello there. I havent seen you before.", "A dog you say? I heard whimpering outside my house not long ago.", "RD930 must be taking him to the slaughter room.", "If you hurry you might be able to get there before he does.", "It's not very far from here.", "Good luck."), "C5A21");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 201 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("A bookcase.", "There seems to be a lot of books about trees."), "Bookcase.");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 203 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a pot plant. Horray!"), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Frame 11
stopAllSounds();
_x = 0;
_y = 0;
Frame 12
_root.char.score = 0;
_root.scored.levelno = 21;
stop();
Instance of Symbol 206 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 222 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 168 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 233 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 238 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 12
onClipEvent (load) {
gravity = 0;
speed = 5;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 15) ? (_x = 1515) : (nothing));
((_x > 1300) ? (_x = 13001300) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 890)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (Key.isDown(32)) {
if (speekable2) {
if (_root.speech2.speechactive2) {
_root.speech2.nextLine();
}
}
speekable2 = false;
} else {
speekable2 = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
_root.char.gotoAndStop(8);
someSound = new Sound();
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 353 MovieClip in Frame 12
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 12
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 355 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort..."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 157 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 366 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit)) {
this.play();
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
}
}
Instance of Symbol 379 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.beetle.play();
}
}
Instance of Symbol 396 MovieClip in Frame 12
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
gotoAndStop (2);
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
}
Frame 13
_x = 0;
_y = 0;
Frame 14
_root.scored.levelno = 20;
stop();
Instance of Symbol 157 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 366 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -35;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 168 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 181 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Springs shall aid you in your quest to reach unreachable heights."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 161 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array("That's a big jump..."), "Tony");
}
}
}
Instance of Symbol 29 MovieClip "char" in Frame 14
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Frame 15
_x = 0;
_y = 0;
Frame 16
_root.scored.levelno = 19;
_root.wonton.play();
stop();
Instance of Symbol 353 MovieClip in Frame 16
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 16
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 16
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 16
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 159 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 429 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 222 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 168 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 225 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 353 MovieClip in Frame 16
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 16
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 222 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 157 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.gotoAndPlay(18);
}
}
Instance of Symbol 308 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 181 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("House of Schvend, Historian."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 16
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 2400) ? (_x = 24002400) : (nothing));
_root.speech._x = _root.char._x;
_root.wonton._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 1885)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 206 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Frame 17
_root.tran.gotoAndPlay(1);
stop();
Instance of Symbol 297 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Who goes there! Oh it's just you.", "It's hard to tell these days, what with all these noises around.", "I am blind you know.", "We all are."), "Schvend");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 201 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("A bookcase.", "Lots of books here on Ancient Greece. One title is 'The Persae'."), "Bookcase.");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 159 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 293 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I had a dog once.", "His name was charlie, and he was my best friend.", "He guided me in the darkness.", "I am lost without him."), "Tim");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Frame 18
_x = 0;
_y = 0;
Frame 19
_root.scored.levelno = 18;
stop();
Instance of Symbol 206 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 353 MovieClip in Frame 19
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 19
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 291 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Loneliness is a horrible thing.", "People change in isolation.", "Some people even become suicidal.", "If someone is surrounded by friends, then they will never become sad."), "Joey");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 291 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Hi stranger.", "Me and my brother are paying respect to these tombstones.", "They're our parents, and we must protect them.", "Please respect them."), "Joanna");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 444 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a water tank."), "Water tank");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 291 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("That's our water supply", "Water is pumped out from deep below and stored in this tank", "Without water, we'd all die."), "Joet");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 168 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 246 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("The entrance is too small to fit into.", "The people who live here must be quite small."), "House");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 246 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("The entrance is too small to fit into.", "The people who live here must be quite small."), "House");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 355 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort..."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 355 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort..."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 355 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort..."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 355 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort..."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 428 MovieClip in Frame 19
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 19
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 308 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 181 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Thompson's House."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 19
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((checkhit(_x + (hit._width / 2), _y - (hit._height / 2), true) or checkhit(_x + (hit._width / 2), _y - 3, true)) or checkhit(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((checkhit(_x - (hit._width / 2), _y - (hit._height / 2), true) or checkhit(_x - (hit._width / 2), _y - 3, true)) or checkhit(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
function checkhit(hitx, hity) {
hitmovingbox = _root.ground.hitTest(hitx, hity, true);
for (i in _root) {
if (_root[i].type == "movingbox") {
if (_root[i].hitTest(hitx, hity, true)) {
hitmovingbox = true;
}
}
}
return(hitmovingbox);
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
for (i in _root) {
if (_root[i].type == "movingbox") {
if (_root[i].hitTest(_x + (hit._width / 2), _y, true) or _root[i].hitTest(_x - (hit._width / 2), _y, true)) {
hitmovingbox = true;
_x = (_x + (_root[i].left ? -2 : 2));
}
}
}
while (checkhit(_x + (hit._width / 2), _y, true) or checkhit(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (checkhit(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (checkhit(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((checkhit(_x, _y + 3, true) and (!Key.isDown(38))) or (checkhit(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (checkhit(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (checkhit(_x + (hit._width / 2), _y + 1, true) or checkhit(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((checkhit(_x + (hit._width / 2), _y - hit._height, true) or checkhit(_x - (hit._width / 2), _y - hit._height, true)) or checkhit(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 3200) ? (_x = 32003200) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 2865)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 157 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 79 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort...", "Or a massive penis....", "One of the two."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 358 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It is my duty to protect this object.", "Please, stand clear..."), "Radford");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 248 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like some sort of brick built object.", "Not really sure what it is."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 379 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr.play();
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 454 MovieClip "mb5" in Frame 19
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
}
}
Frame 20
_x = 0;
_y = 0;
Frame 21
_root.scored.levelno = 17;
stop();
Instance of Symbol 157 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 225 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 21
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Frame 22
_x = 0;
_y = 0;
Frame 23
_root.scored.levelno = 16;
stop();
_root.tran1.play();
Instance of Symbol 157 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 206 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 159 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 293 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Do you like the architecture sir.", "Is it beautiful?", "I designed it myself, though I am blind.", "I wish I could see it."), "Roger");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 168 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 462 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("A statue depicting the legendary 'quote' from Cavestory. ", "'Dedicated to Cavestory, the best independently made game in existance.'"), "Statue");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 225 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 181 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("What benefit to signs have here if no one can read them."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 23
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 3500) ? (_x = 35003500) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3210)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (Key.isDown(32)) {
if (speekable2) {
if (_root.speech2.speechactive2) {
_root.speech2.nextLine();
}
}
speekable2 = false;
} else {
speekable2 = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 463 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 157 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 355 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort...", "Or a massive penis....", "One of the two."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 355 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort...", "Or a massive penis....", "One of the two."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 161 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array("What a nice looking statue.", "I wonder who it's for."), "Tony");
}
}
}
Frame 24
_root.trane.play();
Instance of Symbol 201 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("A bookcase.", "Lots of strange books here.", "'The Wonders of Black magic', '100 ways to make Psilocybe tea...'"), "Bookcase.");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 278 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Please leave, you are not welcome here."), "Toby");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 197 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Here be the residence of Toby."), "Scroll");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 159 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Frame 25
_x = 0;
_y = 0;
Frame 26
_root.scored.levelno = 15;
stop();
Instance of Symbol 157 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 366 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 520 MovieClip "crab" in Frame 26
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 366 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -32;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 157 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 366 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 520 MovieClip in Frame 26
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 396 MovieClip in Frame 26
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
gotoAndStop (2);
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
}
Instance of Symbol 520 MovieClip in Frame 26
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 428 MovieClip in Frame 26
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 379 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.b1.play();
}
}
Instance of Symbol 181 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("And so Braille was added to each sign so that the blind may see."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 225 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 26
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((checkhit(_x + (hit._width / 2), _y - (hit._height / 2), true) or checkhit(_x + (hit._width / 2), _y - 3, true)) or checkhit(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((checkhit(_x - (hit._width / 2), _y - (hit._height / 2), true) or checkhit(_x - (hit._width / 2), _y - 3, true)) or checkhit(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
function checkhit(hitx, hity) {
hitmovingbox = _root.ground.hitTest(hitx, hity, true);
for (i in _root) {
if (_root[i].type == "movingbox") {
if (_root[i].hitTest(hitx, hity, true)) {
hitmovingbox = true;
}
}
}
return(hitmovingbox);
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
for (i in _root) {
if (_root[i].type == "movingbox") {
if (_root[i].hitTest(_x + (hit._width / 2), _y, true) or _root[i].hitTest(_x - (hit._width / 2), _y, true)) {
hitmovingbox = true;
_x = (_x + (_root[i].left ? -2 : 2));
}
}
}
while (checkhit(_x + (hit._width / 2), _y, true) or checkhit(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (checkhit(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (checkhit(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((checkhit(_x, _y + 3, true) and (!Key.isDown(38))) or (checkhit(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (checkhit(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (checkhit(_x + (hit._width / 2), _y + 1, true) or checkhit(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((checkhit(_x + (hit._width / 2), _y - hit._height, true) or checkhit(_x - (hit._width / 2), _y - hit._height, true)) or checkhit(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 4300) ? (_x = 43004300) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3920)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 181 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Be aware of spikey objects, they will kill you."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 524 MovieClip in Frame 26
/* no clip actions */
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 353 MovieClip in Frame 26
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 26
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 26
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 168 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Frame 27
_x = 0;
_y = 0;
Frame 28
_root.scored.levelno = 14;
stop();
_root.tranplay();
Instance of Symbol 429 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 429 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 159 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 168 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 181 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Residents of Robert."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.a.play();
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.b.play();
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.c.play();
}
}
Instance of Symbol 157 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 535 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
_root.key1 = true;
this.gotoAndStop(2);
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.key1 == true)) {
_root.ground.lock1.play();
}
}
Instance of Symbol 366 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -23;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -23;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -25;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -22;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 535 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
_root.key2 = true;
this.gotoAndStop(2);
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.key2 == true)) {
_root.ground.lock2.play();
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.d.play();
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.e.play();
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.f.play();
}
}
Instance of Symbol 379 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.g.play();
}
}
Instance of Symbol 157 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 520 MovieClip "crab" in Frame 28
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 28
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 28
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 28
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 28
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 366 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 429 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 428 MovieClip in Frame 28
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 28
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 206 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 28
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 3550) ? (_x = 35503550) : (nothing));
_root.speech._x = _root.char._x;
_root.wonton._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3220)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 206 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Frame 29
_x = 0;
_y = 0;
Instance of Symbol 159 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 295 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("*Beep* Oh hello.", "Please make yourself at home."), "Robert");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 291 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("You're breathing quite heavily stranger.", "Take it easy."), "Joesette");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 184 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I have just reached the city and am currently taking a break.", "Won't be long until the intruder is desposed of.", "Please report any other intruders if found."), "Computer");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Frame 30
_x = 0;
_y = 0;
Frame 31
_root.scored.levelno = 13;
stop();
Instance of Symbol 157 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 29 MovieClip "char" in Frame 31
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Frame 32
_x = 0;
_y = 0;
Frame 33
_root.scored.levelno = 12;
stop();
Instance of Symbol 157 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 168 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 225 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 379 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.key1 == true)) {
_root.ground.lock1.play();
}
}
Instance of Symbol 428 MovieClip in Frame 33
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
stopAllSounds();
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 33
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
stopAllSounds();
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 29 MovieClip "char" in Frame 33
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((checkhit(_x + (hit._width / 2), _y - (hit._height / 2), true) or checkhit(_x + (hit._width / 2), _y - 3, true)) or checkhit(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((checkhit(_x - (hit._width / 2), _y - (hit._height / 2), true) or checkhit(_x - (hit._width / 2), _y - 3, true)) or checkhit(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
function checkhit(hitx, hity) {
hitmovingbox = _root.ground.hitTest(hitx, hity, true);
for (i in _root) {
if (_root[i].type == "movingbox") {
if (_root[i].hitTest(hitx, hity, true)) {
hitmovingbox = true;
}
}
}
return(hitmovingbox);
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
for (i in _root) {
if (_root[i].type == "movingbox") {
if (_root[i].hitTest(_x + (hit._width / 2), _y, true) or _root[i].hitTest(_x - (hit._width / 2), _y, true)) {
hitmovingbox = true;
_x = (_x + (_root[i].left ? -2 : 2));
}
}
}
while (checkhit(_x + (hit._width / 2), _y, true) or checkhit(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (checkhit(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (checkhit(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((checkhit(_x, _y + 3, true) and (!Key.isDown(38))) or (checkhit(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (checkhit(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (checkhit(_x + (hit._width / 2), _y + 1, true) or checkhit(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((checkhit(_x + (hit._width / 2), _y - hit._height, true) or checkhit(_x - (hit._width / 2), _y - hit._height, true)) or checkhit(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 535 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
_root.key1 = true;
this.gotoAndStop(2);
}
}
Frame 34
_x = 0;
_y = 0;
Frame 35
_root.scored.levelno = 11;
stop();
_root.wonton2.gotoAndPlay(1);
Instance of Symbol 398 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("There's no opening in this house."), "....");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 400 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("There's no opening in this house."), "....");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 406 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("There's no opening in this house."), "....");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 398 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("There's no opening in this house."), "....");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 400 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("There's no opening in this house."), "....");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 400 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("There's no opening in this house."), "....");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 406 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("There's no opening in this house."), "....");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 400 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("There's no opening in this house."), "....");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 355 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort...", "Or a massive penis....", "One of the two."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 159 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.dead == false)) {
_root.char._x = 0;
_x = 10;
_y = 0;
_root.gotoAndPlay(37);
}
}
Instance of Symbol 159 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 181 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Residents of Henry."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Welcome to town."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("George's House."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Gabrielle's house."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Residents of Joshua."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 35
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 2900) ? (_x = 29002900) : (nothing));
_root.speech._x = _root.char._x;
_root.wonton._x = _root.char._x;
_root.wonton2._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 2490)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Frame 36
_root.wonton.gotoAndPlay(1);
Instance of Symbol 197 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Here lies the sacred tree. Breath it in."), "Scroll");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 190 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("....", "No idea what this is.", "Some sort of floating tile or something. "), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 201 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("A bookcase.", "Nothing interesting here."), "Bookcase.");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 159 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 280 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'd love to sit down, but I do not have time."), "Chair");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 199 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Hello there, welcome to my humble abode.", "I am one of the few here gifted with sight, along with C5A21.", "He's my brother you know..."), "C834I");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 278 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I am the father of lies.", "My procreator, stand your f****ing ground."), "Father of lies");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 286 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("..."), "Cindy");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 288 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Hello, my name is Toby and this is Cindy.", "We're waiting for our parents to come home, have you seen them?"), "Toby");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 293 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Do you like my hat? Haha I made it myself.", "I wish..."), "Henry");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 295 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("My friend here is deaf.", "Please don't be prejudice, it's a horrible thing.", "We all lack an aspect everyone else has, and we must accept it."), "Joshua");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 297 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("!!!!!!!!"), "Gabrielle");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 358 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Who goes there!", "Oh its you. Yes I do know you, Tony. Welcome to my house.", "Make yourself at home."), "George");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 184 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I am currently making my way through the floating ships.", "The execution is drawing ever so nearer. How exciting!"), "Computer");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 201 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("A bookcase.", "There's a few books on DYI and furniture construction here.", "The titles look like they're in Japanese."), "Bookcase.");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 225 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Frame 37
_x = 0;
_y = 0;
Frame 38
_root.scored.levelno = 10;
stop();
_root.wonton.play();
Instance of Symbol 550 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Rest in peace."), "Tombstone");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 552 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Rest in peace."), "Memorial Cross");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 206 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a tree."), "Tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.gotoAndPlay(40);
}
}
Instance of Symbol 159 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.nextFrame();
}
}
Instance of Symbol 291 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Such a horrible feeling, these places of death.", "I'd much rather be cremated."), "Josetta");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Residents of Robert."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 276 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a Lantern. The only light in a dark place."), "Lantern");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 276 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a Lantern. The only light in a dark place."), "Lantern");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 276 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a Lantern. The only light in a dark place."), "Lantern");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 276 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("It's a Lantern. The only light in a dark place."), "Lantern");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 240 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Rest in peace."), "Tombstone");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 240 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Rest in peace."), "Memorial Cross");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 240 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Rest in peace."), "Memorial Cross");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 240 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Rest in peace."), "Tombstone");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 264 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("No idea what this is."), "...");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 264 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("No idea what this is."), "...");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 264 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("No idea what this is."), "...");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 264 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("No idea what this is."), "...");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Frame 39
stop();
_root.wonton.play();
Instance of Symbol 280 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a chair."), "Chair");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 288 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("This house is rather big for someone my size.", "I should really settle for a smaller dwelling...", "Would you like to buy my house? Of course you wouldn't."), "Sophie");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 295 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("This chap on my left is a meddling lier."), "Kingsley");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 297 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("That fellow on my right is a truthful man. Really."), "Micheal");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 159 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 159 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.prevFrame();
}
}
Instance of Symbol 225 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Frame 40
stopAllSounds();
_x = 0;
_y = 0;
Frame 41
_root.scored.levelno = 9;
stop();
Instance of Symbol 168 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 379 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr.play();
}
}
Instance of Symbol 379 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrrdd.play();
}
}
Instance of Symbol 379 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrrddd.play();
}
}
Instance of Symbol 379 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrrd4.play();
}
}
Instance of Symbol 366 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -28;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -28;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -28;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 379 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.a.play();
}
}
Instance of Symbol 379 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.b.play();
}
}
Instance of Symbol 379 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.c.play();
}
}
Instance of Symbol 157 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 520 MovieClip "crab" in Frame 41
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 41
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 41
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 463 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 463 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 157 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 41
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < -800) ? (_x = -800-800) : (nothing));
((_x > 4300) ? (_x = 43004300) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3100)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Frame 42
_x = 0;
_y = 0;
Frame 43
_root.scored.levelno = 8;
stop();
Instance of Symbol 159 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.dead == false)) {
_root.play();
}
}
Instance of Symbol 428 MovieClip in Frame 43
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 43
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 168 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 181 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Down you go."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 43
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 3500) ? (_x = 35003500) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3130)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 366 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 366 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -29;
play();
_root.char.gotoAndStop(3);
}
}
Instance of Symbol 428 MovieClip in Frame 43
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 43
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 568 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 520 MovieClip "crab" in Frame 43
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Frame 44
stopAllSounds();
_x = 0;
_y = 0;
Frame 45
_root.scored.levelno = 7;
stop();
Instance of Symbol 159 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.dead == false)) {
_root.char._y = _root.char._y - 400;
_root.char.gravity = 0;
_root.nextFrame();
}
}
Instance of Symbol 29 MovieClip "char" in Frame 45
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Frame 46
stop();
_x = 0;
_y = 0;
gravity = 0;
Instance of Symbol 159 MovieClip in Frame 46
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.dead == false)) {
_root.play();
_root.char._y = 1;
}
}
Frame 48
_root.scored.levelno = 6;
stop();
Instance of Symbol 355 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Looks like a pillar of some sort...", "Or a massive penis....", "One of the two."), "Object");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 225 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 48
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 3550) ? (_x = 35503550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3220)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr.play();
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrrd.play();
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr2.play();
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr3.play();
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr7.play();
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrrd6.play();
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr8.play();
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr9.play();
}
}
Instance of Symbol 157 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr18.play();
}
}
Instance of Symbol 379 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr19.play();
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 576 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 168 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 520 MovieClip "crab" in Frame 48
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Frame 49
_x = 0;
_y = 0;
Frame 50
_root.scored.levelno = 5;
stop();
Instance of Symbol 238 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 50
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 157 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 428 MovieClip in Frame 50
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
stopAllSounds();
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 50
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
stopAllSounds();
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 29 MovieClip "char" in Frame 50
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 50
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 225 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 50
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 50
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 50
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Frame 51
_x = 0;
_y = 0;
Frame 52
_root.scored.levelno = 4;
stop();
Instance of Symbol 428 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 308 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 52
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 3550) ? (_x = 35503550) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3120)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 159 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.dead == false)) {
_root.char._x = 0;
_x = 10;
_y = 0;
_root.play();
}
}
Instance of Symbol 379 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.c.play();
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 168 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 181 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Not long now."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 379 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_root.key1 == true)) {
_root.ground.lock1.play();
}
}
Instance of Symbol 520 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 520 MovieClip in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 520 MovieClip "crab" in Frame 52
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 535 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
_root.key1 = true;
this.gotoAndStop(2);
}
}
Frame 53
_x = 0;
_y = 0;
Frame 54
_root.scored.levelno = 3;
stop();
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 428 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 428 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 225 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 225 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 54
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 3550) ? (_x = 35503550) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3220)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 274 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("And a strange one at that."), "A tree");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 428 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 353 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 520 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Instance of Symbol 520 MovieClip in Frame 54
onClipEvent (load) {
dir = false;
xscale = _xscale;
gravity = 0;
}
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.char.gravity = -20;
gotoAndStop (2);
_root.char.gotoAndStop(3);
}
}
}
Frame 55
_x = 0;
_y = 0;
Frame 56
_root.scored.levelno = 2;
stop();
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 308 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 29 MovieClip "char" in Frame 56
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 157 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 157 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Instance of Symbol 238 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char.hit.hitTest(this)) {
gotoAndStop (2);
}
}
Frame 57
_x = 0;
_y = 0;
Frame 58
_root.scored.levelno = 1;
stop();
Instance of Symbol 181 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("Might be a bit of a wait.", "Might have to sacrifice a bit of your time, but that's not too bad is it.", "Be patient. It's coming."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("These moving blocks are designed to slow commuters.", "Slowing down travellers may prevent them from reaching-", "their destination in time.", "Infuriating."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 181 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("This is it... The last level..."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 181 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("You are approaching the Slaughter room."), "Sign");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 168 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Instance of Symbol 157 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 29 MovieClip "char" in Frame 58
onClipEvent (load) {
gravity = 0;
speed = 6;
jumpheight = 18;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((checkhit(_x + (hit._width / 2), _y - (hit._height / 2), true) or checkhit(_x + (hit._width / 2), _y - 3, true)) or checkhit(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((checkhit(_x - (hit._width / 2), _y - (hit._height / 2), true) or checkhit(_x - (hit._width / 2), _y - 3, true)) or checkhit(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
function checkhit(hitx, hity) {
hitmovingbox = _root.ground.hitTest(hitx, hity, true);
for (i in _root) {
if (_root[i].type == "movingbox") {
if (_root[i].hitTest(hitx, hity, true)) {
hitmovingbox = true;
}
}
}
return(hitmovingbox);
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
for (i in _root) {
if (_root[i].type == "movingbox") {
if (_root[i].hitTest(_x + (hit._width / 2), _y, true) or _root[i].hitTest(_x - (hit._width / 2), _y, true)) {
hitmovingbox = true;
_x = (_x + (_root[i].left ? -2 : 2));
}
}
}
while (checkhit(_x + (hit._width / 2), _y, true) or checkhit(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (checkhit(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (checkhit(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((checkhit(_x, _y + 3, true) and (!Key.isDown(38))) or (checkhit(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (checkhit(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (checkhit(_x + (hit._width / 2), _y + 1, true) or checkhit(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((checkhit(_x + (hit._width / 2), _y - hit._height, true) or checkhit(_x - (hit._width / 2), _y - hit._height, true)) or checkhit(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 3550) ? (_x = 35503550) : (nothing));
_root.speech._x = _root.char._x;
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 3220)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 592 MovieClip "mb1" in Frame 58
onClipEvent (enterFrame) {
gravity = gravity + 2;
_y = (_y + gravity);
while ((_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) or _root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (_currentframe == 1) {
if (dir == true) {
_x = (_x - 2);
_xscale = xscale;
}
if (dir == false) {
_x = (_x + 2);
_xscale = (-xscale);
}
if (_root.ground.hitTest(_x + 20, _y - 10, true)) {
dir = true;
}
if (_root.ground.hitTest(_x - 20, _y - 10, true)) {
dir = false;
}
}
}
Instance of Symbol 379 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrr.play();
}
}
Instance of Symbol 379 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrrd.play();
}
}
Instance of Symbol 379 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true) and (_root.dead == false)) {
_root.ground.rrrd6.play();
}
}
Instance of Symbol 157 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Frame 59
_x = 0;
_y = 0;
Frame 60
_root.scored.levelno = 0;
wasnotdown = false;
stop();
stopAllSounds();
stop();
hwfiaub = 0;
started__ = false;
this.onEnterFrame = function () {
if (started__) {
if (Key.isDown(32)) {
if (wasnotdown) {
_root.speech.nextLine();
wasnotdown = false;
}
} else {
wasnotdown = true;
}
if (!_root.speech.speechactive) {
_root.play();
onEnterFrame = function () {
};
}
} else {
if (hwfiaub > 15) {
_root.speech.displayText(new Array("......", "No.....", "NO!!....", "SCRAPPY!!!!"), "Tony");
started__ = true;
}
hwfiaub++;
}
};
Frame 61
_x = 0;
_y = 0;
_x = 0;
_y = 0;
Frame 62
stop();
stopAllSounds();
Instance of Symbol 161 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array("Scrappy...."), "Tony");
}
}
}
Instance of Symbol 161 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array(".....", "I can't believe this is happening..."), "Tony");
}
}
}
Instance of Symbol 161 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array("You did this didn't you!", "I'm going to kill you!!"), "Tony");
}
}
}
Instance of Symbol 161 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.robot.play();
}
}
Instance of Symbol 161 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fadeout.play();
}
}
Instance of Symbol 161 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array("....."), "Tony");
}
}
}
Instance of Symbol 161 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.robot.play();
}
}
Instance of Symbol 161 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array("Now you know what it's like to lose something so close.", "So imperative. So important.", "That you will now question your own existance."), "RD930");
}
}
}
Instance of Symbol 29 MovieClip "char" in Frame 62
onClipEvent (load) {
gravity = 0;
speed = 4;
jumpheight = 16;
scale = _xscale;
_root.dead = false;
timer = 0;
timeron = false;
X = _root._x;
startX = _x;
startY = _y;
playingdeath = false;
}
onClipEvent (enterFrame) {
function checkrightwall() {
if ((_root.ground.hitTest(_x + (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x + (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true)) {
_x = (_x - speed);
}
}
function checkleftwall() {
if ((_root.ground.hitTest(_x - (hit._width / 2), _y - (hit._height / 2), true) or _root.ground.hitTest(_x - (hit._width / 2), _y - 3, true)) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) {
_x = (_x + speed);
}
}
if (_root.dead == true) {
timer++;
if (timer > 80) {
_root._x = X;
_x = startX;
_y = startY;
gravity = 0;
gotoAndStop (1);
_root.dead = false;
timer = 0;
playingdeath = false;
someSound = new Sound();
someSound.attachSound("theme", this);
someSound.start(0, 99999);
}
}
gravity = gravity + 2;
_y = (_y + gravity);
if (this._currentframe != 4) {
while (_root.ground.hitTest(_x + (hit._width / 2), _y, true) or _root.ground.hitTest(_x - (hit._width / 2), _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) && (!_root.speech.speechactive)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkrightwall();
} else if (Key.isDown(37) && (!_root.speech.speechactive)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
gotoAndStop (2);
}
checkleftwall();
} else if (((_root.ground.hitTest(_x, _y + 3, true) and (!Key.isDown(38))) or (_root.ground.hitTest(_x + (_width / 2), _y + 3, true) and (!Key.isDown(38)))) or (_root.ground.hitTest(_x - (_width / 2), _y + 3, true) and (!Key.isDown(38)))) {
gotoAndStop (1);
}
if (Key.isDown(38) && (!_root.speech.speechactive)) {
if (_root.ground.hitTest(_x + (hit._width / 2), _y + 1, true) or _root.ground.hitTest(_x - (hit._width / 2), _y + 1, true)) {
gravity = -jumpheight;
gotoAndStop (3);
someSound = new Sound();
someSound.attachSound("jump", this);
someSound.start(0, 1);
}
}
while ((_root.ground.hitTest(_x + (hit._width / 2), _y - hit._height, true) or _root.ground.hitTest(_x - (hit._width / 2), _y - hit._height, true)) or _root.ground.hitTest(_x, _y - hit._height, true)) {
gravity = 6;
_y = (_y + 5);
}
((_x < 10) ? (_x = 1010) : (nothing));
((_x > 550) ? (_x = 550550) : (nothing));
_root.ROBERTSMENU._x = _root.char._x - (Stage.width / 2);
if ((_root.char._x > (Stage.width / 2)) and (_root.char._x < 250)) {
_root._x = (-_x) + (Stage.width / 2);
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
}
if (_y > 450) {
if ((playingdeath == false) and (_root.dead == false)) {
stopAllSounds();
someSound = new Sound();
someSound.attachSound("death", this);
someSound.start(0, 1);
playingdeath = true;
}
_root.dead = true;
}
}
Instance of Symbol 157 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("I'm not turning back.", "I've got to find another exit."), "Tony");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 601 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("He's not breathing..."), "Scrappy");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Frame 63
_x = 0;
_y = 0;
Frame 64
stop();
Frame 65
stop();
Instance of Symbol 619 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Details have been etched out."), "GRAVESTONE");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 621 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("I have absolutely no idea what this is."), "UNKNOWN OBJECT");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 625 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("All these robots scare me..."), "Martha");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 638 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 671 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 67
stop();
Instance of Symbol 705 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("I'm so lost...", "And lonely..."), "Bill");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 638 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 727 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 69
stop();
Instance of Symbol 730 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Won't open for some reason. I'm hungry..."), "Fridge");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 638 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 739 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("No time to sleep"), "Bed");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 671 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 71
stop();
Instance of Symbol 739 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
_root.speech.displayText(new Array("No time to sleep"), "Bed");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 741 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("So many coins...", "What a shame there's no shops anywhere..."), "EGMIRE");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 749 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Jumping on these enemies won't do you much good."), "SIGN");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 638 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 727 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 73
stop();
Instance of Symbol 741 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Hey.."), "SAM");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 753 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Hello..."), "SARAH");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 755 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("One day I'll jump over those spikes there.", "But not today."), "EGMIRE");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 757 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("... It's a rock."), "ROCK");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 638 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 671 MovieClip in Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 74
stop();
stopAllSounds();
Frame 75
stop();
Instance of Symbol 782 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 782 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 782 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 785 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("... BEEP... BEEP..."), "ROBOT");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 787 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Loneliness killed this man."), "GRAVESTONE");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 790 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("I liked the other dimension better."), "TROY");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 799 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("....."), "MONSTER");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 801 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 803 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("White marble pillar."), "PILLAR");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 839 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 77
stop();
Instance of Symbol 782 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 782 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 782 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 785 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("... BEEP... BEEP..."), "ROBOT");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 787 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Rest in peace charlie."), "GRAVESTONE");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 790 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("I liked the other dimension better."), "TROY");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 799 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("....."), "MONSTER");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 801 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 803 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("White marble pillar."), "PILLAR");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 839 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 79
stop();
Instance of Symbol 801 MovieClip in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 851 MovieClip "5" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "4" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "3" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "2" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "1" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "10" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "9" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "8" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "7" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "6" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "11" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "15" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "14" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "13" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip "12" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip "a3" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip "a2" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip "a1" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 81
stop();
Instance of Symbol 875 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("You wish you had a tail, don't you?"), "MONSTER");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 878 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Hello."), "MOCHESAN");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 801 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 882 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Some sort of rock feature."), "ROCK FEATURE");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 782 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 782 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 83
stop();
Instance of Symbol 801 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 851 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 782 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 782 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 85
stop();
_root.b2.gotoAndPlay(40);
_root.b1.gotoAndPlay(40);
Instance of Symbol 880 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Some sort of rock feature."), "ROCK FEATURE");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 787 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Rest in peace charlie."), "GRAVESTONE");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 801 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 785 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("... BEEP... BEEP..."), "ROBOT");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 782 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 839 MovieClip in Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 87
stop();
Instance of Symbol 801 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 875 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("The next dimension is on the otherside of that door", "Good luck."), "MONSTER");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 851 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.gotoAndStop(2);
}
}
Frame 88
stopAllSounds();
Frame 89
stop();
Frame 91
stop();
_quality = "high";
Instance of Symbol 902 MovieClip in Frame 91
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 907 MovieClip "fireball" in Frame 91
onClipEvent (load) {
if (!_root.fireballs.length) {
_root.fireballs = new Array(this);
} else {
_root.fireballs.push(this);
}
if (_name == "fireball") {
_x = 3485345;
}
if ((_root.dir == false) and (_name != "fireball")) {
left = true;
_x = (_root.char._x + 15);
_y = (_root.char._y - (_root.char._height * 0.55));
} else if ((_root.dir == true) and (_name != "fireball")) {
_rotation = (_rotation + 180);
left = false;
_x = (_root.char._x - 15);
_y = (_root.char._y - (_root.char._height * 0.55));
}
}
onClipEvent (enterFrame) {
if (left == true) {
_x = (_x + 7);
} else {
_x = (_x - 7);
}
if ((_x > 700) and (_name != "fireball")) {
removeMovieClip(this);
}
if ((_x < 0) and (_name != "fireball")) {
removeMovieClip(this);
}
if (_root.ground.hitTest(_x - 10, _y, true) and (_name != "fireball")) {
removeMovieClip(this);
}
}
Instance of Symbol 919 MovieClip in Frame 91
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.box) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Yes, that is a treasure chest.", "I would open it myself if I could find the key..."), "HAROLD");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 925 MovieClip in Frame 91
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 768 MovieClip in Frame 91
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.box)) {
_root.ground.switchd.play();
}
}
Instance of Symbol 1060 MovieClip "chest" in Frame 91
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.key)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.key)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("It's a treasure chest!", "Find a key to open it."), "TREASURE CHEST");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Frame 93
stop();
Instance of Symbol 1083 MovieClip in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("There's some bad types around tony.", "Please... be careful.", "And use your weapon when necessary."), "JOSH");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 1085 MovieClip in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("Hello my name is Mellisa."), "MELISSA");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 925 MovieClip in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 1060 MovieClip "chest" in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.key)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("It's a treasure chest!", "Find a key to open it."), "TREASURE CHEST");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 902 MovieClip in Frame 93
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Frame 95
stop();
Instance of Symbol 1088 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("I sense a very bad presence behind that door.", "Take care in your travels."), "Trevor");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 925 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 1060 MovieClip "chest" in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.key)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.key)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("It's a treasure chest!", "Find a key to open it."), "TREASURE CHEST");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 902 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Frame 97
stop();
Instance of Symbol 925 MovieClip in Frame 97
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
_root.play();
}
}
Instance of Symbol 1097 MovieClip "rock" in Frame 97
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (Key.isDown(32))) {
if (temp) {
if (!(_root.speech.speechactive || (_root.speech.speechlastactive < 10))) {
trace("egei");
_root.speech.displayText(new Array("A large rock."), "LARGE ROCK.");
_root.char.speekable = false;
}
}
temp = false;
} else {
temp = true;
}
}
Instance of Symbol 1099 MovieClip in Frame 97
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.doctor.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
if ((!_root.speech.speechactive) && (!done)) {
done = true;
_root.speech.displayText(new Array("Thats far enough!!", "Your presence isn't welcome here.", "No one has ever gotten this far!!", "This angers me sir, very much so.", "YOU WILL NOT LEAVE HERE ALIVE!!!"), "THE DEVELOPER");
}
}
}
Instance of Symbol 1099 MovieClip in Frame 97
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.doctor.gotoAndPlay(8);
}
}
Frame 99
stop();
Frame 100
stop();
Frame 102
stopAllSounds();
stop();
_quality = "low";
Frame 104
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 3
stop();
Symbol 29 MovieClip Frame 4
stop();
Symbol 39 Button
on (release) {
_root.play();
}
Symbol 40 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 40 MovieClip Frame 2
stop();
Symbol 59 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 64 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 66 MovieClip Frame 1
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 1188 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var _local1 = {page:special};
}
SendLink(NEWGROUNDS, _local1);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
for (var _local9 in extra) {
_local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9]));
}
trace(_local7);
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local10 = new XML();
_local10.ignoreWhite = true;
_local10.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local10.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 86 Button
on (release) {
_root.nextFrame();
}
Symbol 87 Button
on (release) {
nextFrame();
}
Symbol 88 Button
on (release) {
getURL ("http://www.pinenana.com/", "blank");
}
Symbol 106 Button
on (release) {
prevFrame();
}
Symbol 107 Button
on (release) {
_root.menud.loading.play();
_root.gotoAndStop(91);
stopAllSounds();
}
Symbol 108 Button
on (release) {
_root.menud.loading.play();
_root.gotoAndStop(77);
stopAllSounds();
}
Symbol 109 Button
on (release) {
_root.menud.loading.play();
_root.gotoAndStop(65);
stopAllSounds();
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 10
stop();
Symbol 127 MovieClip Frame 1
stopAllSounds();
Symbol 127 MovieClip Frame 2
stop();
Symbol 133 MovieClip Frame 1
function disableMovement() {
_root.char.gotoAndStop(1);
_root.char.speed = 0;
_root.char.jumpheight = 0;
_root.char.stopped = true;
}
function enableMovement() {
_root.char.speed = 6;
_root.char.jumpheight = 18;
_root.char.stopped = false;
}
function displayText(temp, charname) {
trace("dwjaoif");
if (lastFrame > 2) {
this._alpha = 100;
speechactive = true;
charnamebox.text = charname;
txtbox.text = "";
disableMovement();
arrayText = temp;
textLineNum = 0;
nextLine();
}
lastFrame = 0;
}
function nextLine() {
currentText = arrayText[textLineNum];
textLineNum++;
if (textLineNum > arrayText.length) {
this._alpha = 0;
speechactive = false;
speechlastactive = 0;
enableMovement();
id = 0;
}
textColNum = 0;
}
tempspeed = 0;
currentText = "";
arrayText = new Array("");
textLineNum = 0;
textColNum = 0;
iddisplayed = 0;
lastFrame = 0;
this._xscale = 100;
this._yscale = 100;
this._alpha = 0;
speechactive = false;
onEnterFrame = function () {
lastFrame++;
txtbox.text = currentText.substr(0, textColNum);
textColNum++;
speechlastactive++;
};
Symbol 140 MovieClip Frame 233
stop();
Symbol 147 MovieClip Frame 156
_root.wipeout.play();
Symbol 149 MovieClip Frame 4
stop();
Symbol 149 MovieClip Frame 43
_root.nextFrame();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 10
_root.ground.play();
Symbol 152 MovieClip Frame 11
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 72
stop();
Symbol 164 MovieClip Frame 73
prevFrame();
Symbol 178 MovieClip Frame 1
stopAllSounds();
Symbol 178 MovieClip Frame 2
key1 = false;
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
stop();
_root.scored.score = _root.scored.score * 1;
_root.scored.score = _root.scored.score + 3;
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 2
stop();
_root.scored.score = _root.scored.score * 1;
_root.scored.score = _root.scored.score + 3;
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
_root.score = _root.score + 20;
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
stop();
_root.scored.score = _root.scored.score * 1;
_root.scored.score = _root.scored.score + 1;
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
stop();
_root.scored.score = _root.scored.score * 1;
_root.scored.score = _root.scored.score + 2;
Symbol 337 MovieClip Frame 1
stop();
Instance of Symbol 337 MovieClip "beetle" in Symbol 339 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 351 MovieClip Frame 5
stop();
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 2
stop();
_root.scored.score = _root.scored.score * 1;
_root.scored.score = _root.scored.score + 3;
Symbol 366 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 13
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
stop();
Symbol 410 MovieClip Frame 1
stopAllSounds();
Symbol 410 MovieClip Frame 2
stop();
Symbol 427 MovieClip Frame 6
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 2
stop();
stop();
_root.scored.score = _root.scored.score * 1;
_root.scored.score = _root.scored.score + 3;
Symbol 429 MovieClip Frame 1
if (!load) {
load = true;
yscale = _yscale;
type = "movingbox";
y = _y;
dis = 520;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_yscale = yscale;
if (_y > (y - 160)) {
_y = (_y - 4);
_y = (_y-1);
} else {
left = false;
}
} else {
_yscale = (-yscale);
if (_y < y) {
_y = (_y + 4);
_y = (_y+1);
} else {
left = true;
}
}
}
};
}
Symbol 448 MovieClip Frame 1
stop();
Instance of Symbol 448 MovieClip "rrr" in Symbol 450 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 454 MovieClip Frame 1
if (!load) {
load = true;
xscale = _xscale;
type = "movingbox";
x = _x;
dis = 300;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 650)) {
_x = (_x - 1);
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x + 1);
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 463 MovieClip Frame 1
if (!load) {
load = true;
yscale = _yscale;
type = "movingbox";
y = _y;
dis = 520;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_yscale = yscale;
if (_y > (y - 300)) {
_y = (_y - 1);
_y = (_y-1);
} else {
left = false;
}
} else {
_yscale = (-yscale);
if (_y < y) {
_y = (_y + 1);
_y = (_y+1);
} else {
left = true;
}
}
}
};
}
Instance of Symbol 337 MovieClip "b1" in Symbol 473 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 519 MovieClip Frame 20
stop();
Symbol 520 MovieClip Frame 1
stop();
Instance of Symbol 497 MovieClip in Symbol 520 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_root.dead == false)) {
_root.char.gravity = -30;
_root.char.gotoAndStop(4);
_root.dead = true;
}
}
Symbol 520 MovieClip Frame 2
stop();
stop();
_root.scored.score = _root.scored.score * 1;
_root.scored.score = _root.scored.score + 3;
Symbol 521 MovieClip Frame 1
if (!load) {
load = true;
xscale = _xscale;
type = "movingbox";
x = _x;
dis = 300;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 662)) {
_x = (_x - 1);
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x + 1);
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 529 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 15
stop();
Symbol 529 MovieClip Frame 16
prevFrame();
Instance of Symbol 337 MovieClip "a" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 337 MovieClip "b" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 337 MovieClip "c" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 337 MovieClip "e" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 337 MovieClip "f" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 337 MovieClip "g" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 337 MovieClip "d" in Symbol 532 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 535 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 2
stop();
Symbol 541 MovieClip Frame 1
if (!load) {
load = true;
xscale = _xscale;
type = "movingbox";
x = _x;
dis = 100;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 100)) {
_x = (_x - 1);
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x + 1);
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 544 MovieClip Frame 1
stopAllSounds();
Symbol 544 MovieClip Frame 2
stop();
Instance of Symbol 337 MovieClip "a" in Symbol 561 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 337 MovieClip "c" in Symbol 561 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 337 MovieClip "b" in Symbol 561 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 563 MovieClip Frame 1
stopAllSounds();
Symbol 563 MovieClip Frame 2
stop();
Symbol 568 MovieClip Frame 1
if (!load) {
load = true;
yscale = _yscale;
type = "movingbox";
y = _y;
dis = 520;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_yscale = yscale;
if (_y > (y - 300)) {
_y = (_y - 2);
_y = (_y-1);
} else {
left = false;
}
} else {
_yscale = (-yscale);
if (_y < y) {
_y = (_y + 2);
_y = (_y+1);
} else {
left = true;
}
}
}
};
}
Symbol 576 MovieClip Frame 1
if (!load) {
load = true;
yscale = _yscale;
type = "movingbox";
y = _y;
dis = 520;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_yscale = yscale;
if (_y > (y - 200)) {
_y = (_y - 3);
_y = (_y-1);
} else {
left = false;
}
} else {
_yscale = (-yscale);
if (_y < y) {
_y = (_y + 3);
_y = (_y+1);
} else {
left = true;
}
}
}
};
}
Instance of Symbol 337 MovieClip "c" in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 592 MovieClip Frame 1
if (!load) {
load = true;
xscale = _xscale;
type = "movingbox";
x = _x;
dis = 300;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 300)) {
_x = (_x - 1);
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x + 1);
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 593 MovieClip Frame 1
if (!load) {
load = true;
xscale = _xscale;
type = "movingbox";
x = _x;
dis = 180;
left = true;
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 210)) {
_x = (_x - 1);
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x + 1);
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 602 MovieClip Frame 1
stop();
Symbol 602 MovieClip Frame 12
stop();
Symbol 602 MovieClip Frame 13
prevFrame();
Symbol 604 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 103
_root.play();
Symbol 614 MovieClip Frame 719
_root.gotoAndStop(2);
Symbol 630 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_root.char)) {
_root.char.kill();
}
};
Symbol 631 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 0;
xscale = _xscale;
x = _x;
dis = 180;
left = true;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 170)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 636 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 0;
xscale = _xscale;
x = _x;
dis = 180;
left = true;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 150)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 650 MovieClip Frame 11
stop();
_parent.respawn();
Symbol 651 MovieClip Frame 1
stop();
function die() {
}
function kill() {
this.gotoAndStop(5);
stopped = true;
}
function respawn() {
this._x = respawnx;
this._y = respawny;
if (_root._currentframe == 14) {
_y = 21;
}
if ((_root._currentframe == 21) && (_root.specialrespawn)) {
_x = 333;
_y = 220;
}
if (_root._currentframe == 20) {
_x = 43;
_y = 67;
}
if (_root._currentframe == 26) {
_x = 432;
_y = 300;
}
if (_root._currentframe == 25) {
herigeruhgir = Number.POSITIVE_INFINITY;
_root.char._x = 62;
t.char._y = 104;
}
gravity = 0;
_root.lives--;
stopped = false;
if (_root.lives == 0) {
die();
}
}
if (!loaded) {
loaded = true;
_y = _root.Yload;
timeron = false;
timer = 0;
gravity = 0;
speed = 3.5;
jumpHeight = 10;
scale = _xscale;
yp = 0;
grounded = false;
speekable = true;
respawnx = _x;
respawny = _y;
stopped = false;
}
onEnterFrame = function () {
if (dorespawnupdatenoworelse) {
respawnx = _x;
respawny = _y;
dorespawnupdatenoworelse = false;
}
if (_root._currentframe != oldframe) {
dorespawnupdatenoworelse = false;
}
egbieww = 9;
oldframe = _root._currentframe;
if (!stopped) {
gravity++;
_y = (_y + gravity);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_root.dir = false;
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
if (timeron == false) {
this.gotoAndStop(2);
}
} else if (_root.ground.hitTest(!this)) {
if (timeron == false) {
this.gotoAndStop(3);
}
}
} else if (Key.isDown(37)) {
_root.dir = true;
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
if (timeron == false) {
this.gotoAndStop(2);
}
} else if (_root.ground.hitTest(!this)) {
if (timeron == false) {
this.gotoAndStop(3);
}
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) and (timeron == false)) {
this.gotoAndStop(3);
}
if ((Key.isDown(38) and _root.ground.hitTest(_x, _y + 3, true)) and (timeron == false)) {
gravity = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) or _root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true)) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) or _root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true)) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
gravity = 2;
}
}
if (Key.isDown(83)) {
gotoAndStop (5);
timeron = true;
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
if (timer > 12) {
duplicateMovieClip (_root.fireball, _root.newfireball, _root.getNextHighestDepth());
timeron = false;
timer = 0;
}
_root.otherstuff();
};
Symbol 651 MovieClip Frame 6
respawn();
Symbol 669 MovieClip Frame 15
stop();
Symbol 671 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 2
_root.score = _root.score + 40;
Symbol 677 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 2
stop();
_root.score = _root.score + 20;
Symbol 683 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 0;
xscale = _xscale;
x = _x;
dis = 180;
left = true;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 152)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 690 MovieClip Frame 1
function disableMovement() {
_root.char.speed = 0;
_root.char.stopped = true;
}
function enableMovement() {
_root.char.speed = 3.5;
_root.char.stopped = false;
}
function displayText(temp, charname) {
trace("dwjaoif");
if (lastFrame > 2) {
this._alpha = 100;
speechactive = true;
charnamebox.text = charname;
txtbox.text = "";
disableMovement();
arrayText = temp;
textLineNum = 0;
nextLine();
}
lastFrame = 0;
}
function nextLine() {
currentText = arrayText[textLineNum];
textLineNum++;
if (textLineNum > arrayText.length) {
this._alpha = 0;
speechactive = false;
speechlastactive = 0;
enableMovement();
id = 0;
}
textColNum = 0;
}
tempspeed = 0;
currentText = "";
arrayText = new Array("");
textLineNum = 0;
textColNum = 0;
iddisplayed = 0;
lastFrame = 0;
this._xscale = 100;
this._yscale = 100;
this._alpha = 0;
speechactive = false;
onEnterFrame = function () {
lastFrame++;
txtbox.text = currentText.substr(0, textColNum);
textColNum++;
speechlastactive++;
};
Symbol 691 Button
on (release) {
gotoAndStop (2);
}
Symbol 703 MovieClip Frame 40
stop();
Symbol 727 MovieClip Frame 1
stop();
Symbol 727 MovieClip Frame 2
stop();
_root.score = _root.score + 300;
Symbol 728 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 0;
xscale = _xscale;
x = _x;
dis = 180;
left = true;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 80)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 742 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 0;
xscale = _xscale;
x = _x;
dis = 180;
left = true;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 250)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 743 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 0;
xscale = _xscale;
x = _x;
dis = 300;
left = true;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 370)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 758 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 0;
xscale = _xscale;
x = _x;
dis = 80;
left = true;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 115)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 780 MovieClip Frame 11
stop();
Symbol 782 MovieClip Frame 1
stop();
Symbol 782 MovieClip Frame 2
stop();
_root.score = _root.score + 40;
Symbol 785 MovieClip Frame 1
if (!loaded) {
loaded = true;
origxscale = _xscale;
this.onEnterFrame = function () {
if (_root.char._x > _x) {
_xscale = origxscale;
} else {
_xscale = (-origxscale);
}
};
}
Symbol 799 MovieClip Frame 1
if (!loaded) {
loaded = true;
origxscale = _xscale;
this.onEnterFrame = function () {
if (_root.char._x > _x) {
_xscale = origxscale;
} else {
_xscale = (-origxscale);
}
};
}
Symbol 823 MovieClip Frame 11
stop();
_parent.respawn();
Symbol 824 MovieClip Frame 1
function die() {
}
function kill() {
this.gotoAndStop(5);
stopped = true;
}
function respawn() {
this._x = respawnx;
this._y = respawny;
if (_root._currentframe == 31) {
_root.char._x = 36;
_root.char._y = -10;
}
if ((_root._currentframe == 30) || (_root._currentframe == 32)) {
_root.char._x = 66;
_root.char._y = 20;
}
if (_root._currentframe == 33) {
_root.char._x = 40;
_root.char._y = 60;
}
_root.lives--;
stopped = false;
if (_root.lives == 0) {
die();
}
}
if (!loaded) {
loaded = true;
_y = _root.Yload;
timeron = false;
timer = 0;
gravity = 0;
speed = 3.5;
jumpHeight = 13;
scale = _xscale;
yp = 0;
grounded = false;
speekable = true;
respawnx = _x;
respawny = _y;
stopped = false;
}
onEnterFrame = function () {
if (!stopped) {
gravity++;
_y = (_y + gravity);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_root.dir = false;
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
if (timeron == false) {
this.gotoAndStop(2);
}
} else if (_root.ground.hitTest(!this)) {
if (timeron == false) {
this.gotoAndStop(3);
}
}
} else if (Key.isDown(37)) {
_root.dir = true;
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
if (timeron == false) {
this.gotoAndStop(2);
}
} else if (_root.ground.hitTest(!this)) {
if (timeron == false) {
this.gotoAndStop(3);
}
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) and (timeron == false)) {
this.gotoAndStop(3);
}
if (Key.isDown(9) && (key_was_up_just_a_frame_ago)) {
kill();
}
if (!Key.isDown(83)) {
key_was_up_just_a_frame_ago = true;
}
if ((Key.isDown(38) and _root.ground.hitTest(_x, _y + 3, true)) and (timeron == false)) {
gravity = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) or _root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true)) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) or _root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true)) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
gravity = 2;
}
}
if (Key.isDown(83)) {
gotoAndStop (5);
timeron = true;
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
if (timeron == true) {
timer++;
}
if (timer > 12) {
duplicateMovieClip (_root.fireball, _root.newfireball, _root.getNextHighestDepth());
timeron = false;
timer = 0;
}
_root.otherstuff();
};
Symbol 838 MovieClip Frame 14
stop();
Symbol 839 MovieClip Frame 1
stop();
Symbol 839 MovieClip Frame 2
stop();
_root.score = _root.score + 40;
Symbol 851 MovieClip Frame 1
stop();
Symbol 851 MovieClip Frame 2
stop();
_root.score = _root.score + 20;
Symbol 857 MovieClip Frame 1
function disableMovement() {
_root.char.speed = 0;
}
function enableMovement() {
_root.char.speed = 3.5;
}
function displayText(temp, charname) {
if (lastFrame > 2) {
this._alpha = 100;
speechactive = true;
charnamebox.text = charname;
disableMovement();
arrayText = temp;
textLineNum = 0;
nextLine();
}
lastFrame = 0;
}
function nextLine() {
currentText = arrayText[textLineNum];
textLineNum++;
if (textLineNum > arrayText.length) {
this._alpha = 0;
speechactive = false;
speechlastactive = 0;
enableMovement();
id = 0;
}
textColNum = 0;
}
tempspeed = 0;
currentText = "";
arrayText = new Array("");
textLineNum = 0;
textColNum = 0;
iddisplayed = 0;
lastFrame = 0;
this._xscale = 100;
this._yscale = 100;
this._alpha = 0;
speechactive = false;
onEnterFrame = function () {
lastFrame++;
txtbox.text = currentText.substr(0, textColNum);
textColNum++;
speechlastactive++;
};
Symbol 864 MovieClip Frame 1
stop();
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 875 MovieClip Frame 1
if (!loaded) {
loaded = true;
origxscale = _xscale;
this.onEnterFrame = function () {
if (_root.char._x > _x) {
_xscale = origxscale;
} else {
_xscale = (-origxscale);
}
};
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 891 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 891 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 891 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 891 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 891 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Instance of Symbol 864 MovieClip in Symbol 891 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 902 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 2
_root.chest.gotoAndStop(2);
Symbol 902 MovieClip Frame 27
stop();
Symbol 902 MovieClip Frame 28
prevFrame();
Symbol 904 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_root.char.box)) {
_root.char.kill();
}
};
Symbol 917 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 4;
xscale = _xscale;
x = _x;
dis = 80;
left = true;
ms = false;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
for (i in _root.fireballs) {
if (!_root.fireballs[i]) {
_root.fireballs.splice(i, 1);
}
if (this.hitTest(_root.fireballs[i]._x, _root.fireballs[i]._y, true)) {
this.gotoAndPlay(7);
this.hit();
_root.fireballs[i].removeMovieClip();
}
}
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 80)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Symbol 917 MovieClip Frame 17
gotoAndPlay (1);
Symbol 917 MovieClip Frame 29
gotoAndPlay (2);
ms = false;
Symbol 917 MovieClip Frame 74
stop();
ms = false;
_root.removeBuiltInMovieClip(this);
Instance of Symbol 905 MovieClip "block" in Symbol 954 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ground.box1.thing)) {
_root.ground.box1.thing.play();
}
if (this.hitTest(_root.ground.box2.thing)) {
_root.ground.box2.thing.play();
}
if (this.hitTest(_root.ground.box3.thing)) {
_root.ground.box3.thing.play();
}
if (this.hitTest(_root.ground.box4.thing)) {
_root.ground.box4.thing.play();
}
if (this.hitTest(_root.ground.box5.thing)) {
_root.ground.box5.thing.play();
}
if (this.hitTest(_root.ground.box6.thing)) {
_root.ground.box6.thing.play();
}
if (this.hitTest(_root.ground.box7.thing)) {
_root.ground.box7.thing.play();
}
if (this.hitTest(_root.ground.box8.thing)) {
_root.ground.box8.thing.play();
}
}
Symbol 957 MovieClip Frame 12
duplicateMovieClip (_root.fireball, _root.newfireball, _root.getNextHighestDepth());
Symbol 957 MovieClip Frame 29
stop();
_parent.shooting = false;
Instance of Symbol 907 MovieClip "fireball" in Symbol 958 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ground.box1.thing)) {
_root.ground.box1.thing.play();
}
if (this.hitTest(_root.ground.box2.thing)) {
_root.ground.box2.thing.play();
}
if (this.hitTest(_root.ground.box3.thing)) {
_root.ground.box3.thing.play();
}
if (this.hitTest(_root.ground.box4.thing)) {
_root.ground.box4.thing.play();
}
if (this.hitTest(_root.ground.box5.thing)) {
_root.ground.box5.thing.play();
}
if (this.hitTest(_root.ground.box6.thing)) {
_root.ground.box6.thing.play();
}
if (this.hitTest(_root.ground.box7.thing)) {
_root.ground.box7.thing.play();
}
if (this.hitTest(_root.ground.box8.thing)) {
_root.ground.box8.thing.play();
}
}
onClipEvent (load) {
if (_name == "fireball") {
_x = 3485345;
}
if ((_root.dir == false) and (_name != "fireball")) {
left = true;
_x = (_root.char._x + 15);
_y = (_root.char._y - 15);
} else if ((_root.dir == true) and (_name != "fireball")) {
_rotation = (_rotation + 180);
left = false;
_x = (_root.char._x - 15);
_y = (_root.char._y - 15);
}
}
onClipEvent (enterFrame) {
if (left == true) {
_x = (_x + 5);
} else {
_x = (_x - 5);
}
for (i in _root) {
if (_root[i].hitable) {
if (_root[i].hitTest(this)) {
_root[i].hit();
this.removeMovieClip();
}
}
}
if ((_x > 700) and (_name != "fireball")) {
removeMovieClip(this);
}
if ((_x < 0) and (_name != "fireball")) {
removeMovieClip(this);
}
if (_root.ground.hitTest(_x - 10, _y, true) and (_name != "fireball")) {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
i = 0;
}
onClipEvent (enterFrame) {
if (i > 20) {
i = 0;
}
i = 0;
while (i < 20) {
if (this.hitTest(_root["fireball" + i])) {
this.play();
}
i++;
}
}
Symbol 958 MovieClip Frame 8
_root.putshot();
Symbol 958 MovieClip Frame 22
stop();
_parent.shooting = false;
Symbol 960 MovieClip Frame 30
stop();
_parent.respawn();
Symbol 960 MovieClip Frame 33
_root.char.gotoAndStop(9);
Symbol 961 MovieClip Frame 1
function die() {
}
function kill() {
this.gotoAndStop(8);
stopped = true;
}
function respawn() {
this._x = respawnx;
this._y = respawny;
_root.lives--;
stopped = false;
if (_root.lives == 0) {
die();
}
}
stop();
if (!loaded) {
loaded = true;
_y = _root.Yload;
timeron = false;
timer = 0;
gravity = 0;
speed = 3.5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
speekable = true;
respawnx = _x;
respawny = _y;
stopped = false;
_y = _root.Yload;
if (_root.exitright == true) {
_x = 30;
}
if (_root.exitleft == true) {
_x = 630;
}
}
this.onEnterFrame = function () {
if (!stopped) {
gravity++;
_y = (_y + gravity);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39)) {
_root.dir = false;
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
if (timeron == false) {
this.gotoAndStop(2);
}
} else if (_root.ground.hitTest(!this)) {
if (timeron == false) {
this.gotoAndStop(3);
}
}
} else if (Key.isDown(37)) {
_root.dir = true;
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
if (timeron == false) {
this.gotoAndStop(2);
}
} else if (_root.ground.hitTest(!this)) {
if (timeron == false) {
this.gotoAndStop(3);
}
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) and (timeron == false)) {
this.gotoAndStop(3);
}
if ((Key.isDown(38) and _root.ground.hitTest(_x, _y + 3, true)) and (timeron == false)) {
gravity = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) or _root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true)) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) or _root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true)) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
gravity = 2;
}
}
if (Key.isDown(32)) {
if (speekable) {
if (_root.speech.speechactive) {
_root.speech.nextLine();
}
}
speekable = false;
} else {
speekable = true;
}
_root.otherstuff();
if (Key.isDown(83)) {
gotoAndStop (5);
timeron = true;
}
if ((timeron == true) || (timer < 0)) {
timer++;
}
if (timer > 12) {
timeron = false;
timer = 0;
}
};
Symbol 961 MovieClip Frame 2
stop();
Symbol 961 MovieClip Frame 3
stop();
Symbol 961 MovieClip Frame 4
stop();
Symbol 961 MovieClip Frame 5
stop();
Symbol 961 MovieClip Frame 6
stop();
Symbol 961 MovieClip Frame 7
stop();
Symbol 961 MovieClip Frame 10
respawn();
Symbol 966 MovieClip Frame 1
stop();
Symbol 966 MovieClip Frame 23
stop();
Symbol 966 MovieClip Frame 24
prevFrame();
Symbol 975 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.char.box.hitTest(this)) {
_root.char.die();
}
};
Symbol 975 MovieClip Frame 71
this.onEnterFrame = function () {
};
Symbol 982 MovieClip Frame 1
stop();
Symbol 982 MovieClip Frame 30
stop();
_root.ground.block.play();
Symbol 982 MovieClip Frame 31
stop();
Symbol 982 MovieClip Frame 32
prevFrame();
Symbol 989 MovieClip Frame 1
stop();
Instance of Symbol 989 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.box)) {
this.play();
}
}
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1005 MovieClip Frame 3
_root.score = _root.score + 40;
Symbol 1005 MovieClip Frame 16
stop();
stop();
Instance of Symbol 1005 MovieClip in Symbol 1006 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.box)) {
this.play();
}
}
Symbol 1016 MovieClip Frame 1
stop();
Symbol 1016 MovieClip Frame 3
_root.score = _root.score + 40;
Symbol 1016 MovieClip Frame 19
stop();
Instance of Symbol 1016 MovieClip in Symbol 1017 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.box)) {
this.play();
}
}
Symbol 1035 MovieClip Frame 1
if (!load) {
load = true;
this.hitable = true;
this.health = 0;
xscale = _xscale;
x = _x;
dis = 20;
left = true;
ms = false;
this.hit = function () {
this.ms = true;
if (health == 0) {
gotoAndPlay ("die");
} else if (health > 0) {
gotoAndPlay ("hit");
health--;
}
};
this.onEnterFrame = function () {
for (i in _root.fireballs) {
if (!_root.fireballs[i]) {
_root.fireballs.splice(i, 1);
}
if (this.hitTest(_root.fireballs[i]._x, _root.fireballs[i]._y, true)) {
this.gotoAndPlay(7);
this.hit();
_root.fireballs[i].removeMovieClip();
}
}
if (this.hitTest(_root.char)) {
_root.char.kill();
}
if (!ms) {
if (left) {
_xscale = xscale;
if (_x > (x - 20)) {
_x = (_x-1);
} else {
left = false;
}
} else {
_xscale = (-xscale);
if (_x < x) {
_x = (_x+1);
} else {
left = true;
}
}
}
};
}
Instance of Symbol 1029 MovieClip in Symbol 1035 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.inside)) {
_root.health.play();
}
}
Instance of Symbol 1029 MovieClip in Symbol 1035 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.inside)) {
_root.guy.monkey.gotoAndPlay(12);
}
}
Instance of Symbol 1029 MovieClip in Symbol 1035 MovieClip Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.inside)) {
_root.health.play();
}
}
Symbol 1035 MovieClip Frame 33
gotoAndPlay (1);
Symbol 1035 MovieClip Frame 34
_root.guy.stop();
Symbol 1035 MovieClip Frame 44
stop();
Symbol 1035 MovieClip Frame 52
stop();
ms = false;
_root.removeBuiltInMovieClip(this);
Symbol 1039 MovieClip Frame 1
function disableMovement() {
_root.char.speed = 0;
}
function enableMovement() {
_root.char.speed = 3.5;
}
function displayText(temp, charname) {
if (lastFrame > 2) {
this._alpha = 100;
speechactive = true;
charnamebox.text = charname;
disableMovement();
arrayText = temp;
textLineNum = 0;
nextLine();
}
lastFrame = 0;
}
function nextLine() {
currentText = arrayText[textLineNum];
textLineNum++;
if (textLineNum > arrayText.length) {
this._alpha = 0;
speechactive = false;
speechlastactive = 0;
enableMovement();
id = 0;
}
textColNum = 0;
}
tempspeed = 0;
currentText = "";
arrayText = new Array("");
textLineNum = 0;
textColNum = 0;
iddisplayed = 0;
lastFrame = 0;
this._xscale = 100;
this._yscale = 100;
this._alpha = 0;
speechactive = false;
onEnterFrame = function () {
lastFrame++;
txtbox.text = currentText.substr(0, textColNum);
textColNum++;
speechlastactive++;
};
Symbol 1046 MovieClip Frame 26
stop();
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1057 MovieClip Frame 4
_root.score = _root.score + 400;
Symbol 1057 MovieClip Frame 12
stop();
Symbol 1060 MovieClip Frame 1
stop();
Symbol 1060 MovieClip Frame 2
stop();
_root.score = _root.score + 500;
Instance of Symbol 1057 MovieClip "money" in Symbol 1060 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.box)) {
this.play();
}
}
Symbol 1062 MovieClip Frame 26
stop();
Symbol 1065 MovieClip Frame 1
stopAllSounds();
Symbol 1065 MovieClip Frame 2
stop();
Symbol 1080 MovieClip Frame 1
stop();
Symbol 1080 MovieClip Frame 24
stop();
Symbol 1080 MovieClip Frame 25
prevFrame();
stop();
Instance of Symbol 1080 MovieClip "thing" in Symbol 1081 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.box)) {
this.play();
}
}
Symbol 1094 MovieClip Frame 2
stop();
Symbol 1094 MovieClip Frame 6
stop();
Symbol 1094 MovieClip Frame 7
prevFrame();
Symbol 1094 MovieClip Frame 17
stop();
Symbol 1097 MovieClip Frame 1
stop();
Symbol 1097 MovieClip Frame 83
stop();
Symbol 1112 MovieClip Frame 1
this.onEnterFrame = function () {
for (i in _root.fireballs) {
if (!_root.fireballs[i]) {
_root.fireballs.splice(i, 1);
}
if (this.hitTest(_root.fireballs[i]._x, _root.fireballs[i]._y, true)) {
this.play();
_root.healthbar.nextFrame();
_root.fireballs[i].removeMovieClip();
}
}
};
stop();
Symbol 1140 MovieClip Frame 218
_root.nextFrame();
Symbol 1142 MovieClip Frame 1
stopAllSounds();
Symbol 1142 MovieClip Frame 2
stop();
Symbol 1151 MovieClip Frame 8
stop();
Symbol 1162 MovieClip Frame 6
stop();
Symbol 1173 MovieClip Frame 1
stop();
Symbol 1173 MovieClip Frame 9
_root.play();
Symbol 1178 MovieClip Frame 16
stop();
Symbol 1181 MovieClip Frame 223
stop();
Symbol 1186 MovieClip Frame 305
_root.play();