Frame 1
Stage.showMenu = false;
Frame 2
stop();
Frame 3
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 1;
ghost.speed = 2;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 4
stop();
Frame 5
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 3;
ghost.speed = 4;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 6
stop();
Frame 7
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 4;
ghost.speed = 5;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 8
stop();
Frame 9
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 5;
ghost.speed = 6;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 10
stop();
Frame 11
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 6;
ghost.speed = 7;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 12
stop();
Frame 13
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 7;
ghost.speed = 8;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 14
stop();
Frame 15
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 8;
ghost.speed = 9;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 16
stop();
Frame 17
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 10;
ghost.speed = 11;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 18
stop();
Frame 19
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 12;
ghost.speed = 13;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 20
stop();
Frame 21
function movewizard() {
if (Key.isDown(39)) {
this._x = this._x + this.speed;
}
if (Key.isDown(37)) {
this._x = this._x - this.speed;
}
if (Key.isDown(40)) {
this._y = this._y + this.speed;
}
if (Key.isDown(38)) {
this._y = this._y - this.speed;
}
if (this._x > 530) {
this._x = 20;
}
if (this._x < 20) {
this._x = 530;
}
if (this._y > 380) {
this._y = 20;
}
if (this._y < 20) {
this._y = 380;
}
if (this.hitTest(_root.monster)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.ghost)) {
if (_root.parts._currentframe == 1) {
_root.gotoAndStop("gameover");
} else {
_root.wizard.gotoAndStop(_root.wizard._currentframe - 1);
_root.parts.gotoAndStop(_root.parts._currentframe - 1);
}
}
if (this.hitTest(_root.parts)) {
_root.wizard.gotoAndStop(_root.wizard._currentframe + 1);
_root.parts.gotoAndStop(_root.parts._currentframe + 1);
}
}
function moveMonster() {
if (_root.wizard._y > _root.monster._y) {
_root.monster._y = _root.monster._y + monster.speed;
}
if (_root.wizard._y < _root.monster._y) {
_root.monster._y = _root.monster._y - monster.speed;
}
if (_root.wizard._x > _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x + monster.speed;
}
if (_root.wizard._x < _root.monster._x) {
_root.monster._rotation = 0;
_root.monster._x = _root.monster._x - monster.speed;
}
}
function moveGhost() {
if (_root.wizard._y > _root.ghost._y) {
_root.ghost._y = _root.ghost._y + ghost.speed;
}
if (_root.wizard._y < _root.ghost._y) {
_root.ghost._y = _root.ghost._y - ghost.speed;
}
if (_root.wizard._x > _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x + ghost.speed;
}
if (_root.wizard._x < _root.ghost._x) {
_root.ghost._rotation = 0;
_root.ghost._x = _root.ghost._x - ghost.speed;
}
}
stop();
Stage.showMenu = false;
monster.speed = 13;
ghost.speed = 14;
wizard.speed = 17;
_root.parts.gotoAndStop(1);
_root.wizard.gotoAndStop(1);
wizard.onEnterFrame = movewizard;
monster.onEnterFrame = moveMonster;
ghost.onEnterFrame = moveGhost;
Instance of Symbol 179 MovieClip "parts" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Frame 22
stop();
stopAllSounds();
Frame 23
stop();
Frame 24
stop();
Symbol 24 MovieClip Frame 80
gotoAndPlay (1);
Symbol 75 MovieClip Frame 118
_root.play();
Symbol 76 MovieClip Frame 1
stop();
Instance of Symbol 8 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (load) {
_root.stop();
bytesLoaded = 0;
bytesTotal = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
if (bytesLoaded < bytesTotal) {
bytesLoaded = _root.getBytesLoaded();
percentLoaded = Math.round((100 * bytesLoaded) / bytesTotal);
if (bytesLoaded < bytesTotal) {
displayText = ("Loading: " + percentLoaded) + "%";
barFill._xscale = percentLoaded;
} else {
barFill._xscale = 100;
_root.preloader.nextFrame();
}
}
}
Symbol 76 MovieClip Frame 2
stop();
Symbol 88 Button
on (release) {
tellTarget (instructions) {
nextFrame();
};
}
Symbol 100 Button
on (release) {
tellTarget (ins1) {
nextFrame();
};
}
Symbol 107 Button
on (release) {
tellTarget (ins1) {
prevFrame();
};
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
play();
Symbol 112 MovieClip Frame 8
stop();
Symbol 112 MovieClip Frame 9
play();
Symbol 112 MovieClip Frame 16
tellTarget (this) {
gotoAndStop (1);
};
Symbol 135 Button
on (release, keyPress "<Enter>") {
if (password == "fudjud") {
stopAllSounds();
_root.gotoAndStop("level2");
} else if (password == "ishkabibble") {
stopAllSounds();
_root.gotoAndStop("level3");
} else if (password == "sharshotono") {
stopAllSounds();
_root.gotoAndStop("level4");
} else if (password == "8bu9sd098") {
stopAllSounds();
_root.gotoAndStop("level5");
} else if (password == "giveawayofthecentury") {
stopAllSounds();
_root.gotoAndStop("level6");
} else if (password == "zeldagamesrule") {
stopAllSounds();
_root.gotoAndStop("level7");
} else if (password == "doyouhavetogotothebathroom") {
stopAllSounds();
_root.gotoAndStop("level8");
} else if (password == "almostattheendofthegame") {
stopAllSounds();
_root.gotoAndStop("level9");
} else if (password == "iknowthatjeremysfilmsisbetterthanmeineveryway") {
stopAllSounds();
_root.gotoAndStop("level10");
} else if (password == "Sh0wMithaS3cr3ts") {
stopAllSounds();
_root.gotoAndStop("secrets");
} else {
tellTarget (passstat) {
nextFrame();
};
}
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
play();
Symbol 138 MovieClip Frame 15
tellTarget (this) {
gotoAndStop (1);
};
Symbol 143 Button
on (release) {
stopAllSounds();
}
on (release) {
_root.play();
}
Symbol 144 Button
on (release) {
tellTarget (instructions) {
nextFrame();
};
}
Symbol 146 MovieClip Frame 28
stop();
Symbol 179 MovieClip Frame 1
stop();
Instance of Symbol 151 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 2
stop();
Instance of Symbol 152 MovieClip in Symbol 179 MovieClip Frame 2
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 3
stop();
Instance of Symbol 154 MovieClip in Symbol 179 MovieClip Frame 3
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 4
stop();
Instance of Symbol 156 MovieClip in Symbol 179 MovieClip Frame 4
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 5
stop();
Instance of Symbol 158 MovieClip in Symbol 179 MovieClip Frame 5
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 6
stop();
Instance of Symbol 160 MovieClip in Symbol 179 MovieClip Frame 6
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 7
stop();
Instance of Symbol 162 MovieClip in Symbol 179 MovieClip Frame 7
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 8
stop();
Instance of Symbol 164 MovieClip in Symbol 179 MovieClip Frame 8
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 9
stop();
Instance of Symbol 166 MovieClip in Symbol 179 MovieClip Frame 9
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 10
stop();
Instance of Symbol 168 MovieClip in Symbol 179 MovieClip Frame 10
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 11
stop();
Instance of Symbol 170 MovieClip in Symbol 179 MovieClip Frame 11
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 12
stop();
Instance of Symbol 172 MovieClip in Symbol 179 MovieClip Frame 12
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 13
stop();
Instance of Symbol 174 MovieClip in Symbol 179 MovieClip Frame 13
onClipEvent (load) {
_x = random(170);
_y = random(123);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
tellTarget (_root.parts) {
nextFrame();
};
}
}
Symbol 179 MovieClip Frame 14
stop();
Symbol 179 MovieClip Frame 15
_root.gotoAndStop(_root._currentframe + 1);
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
stop();
Symbol 194 MovieClip Frame 3
stop();
Symbol 194 MovieClip Frame 4
stop();
Symbol 194 MovieClip Frame 5
stop();
Symbol 194 MovieClip Frame 6
stop();
Symbol 194 MovieClip Frame 7
stop();
Symbol 194 MovieClip Frame 8
stop();
Symbol 194 MovieClip Frame 9
stop();
Symbol 194 MovieClip Frame 10
stop();
Symbol 194 MovieClip Frame 11
stop();
Symbol 194 MovieClip Frame 12
stop();
Symbol 194 MovieClip Frame 13
stop();
Symbol 194 MovieClip Frame 14
stop();
Symbol 216 Button
on (release, keyPress "<Space>") {
stopAllSounds();
nextFrame();
}
Symbol 293 Button
on (release) {
stopAllSounds();
gotoAndPlay (1);
}
Symbol 303 Button
on (press) {
stopAllSounds();
}
Symbol 307 Button
on (press) {
stopAllSounds();
}
Symbol 313 Button
on (press) {
stopAllSounds();
}
Symbol 318 Button
on (release) {
tellTarget (_root.secrets) {
nextFrame();
};
}
Symbol 334 Button
on (release) {
play();
}
Symbol 338 Button
on (release) {
_root.secrets.gotoAndStop(3);
}
Symbol 342 Button
on (release) {
_root.secrets.gotoAndStop(4);
}
Symbol 345 Button
on (release) {
getURL ("http://www.geocities.com/flashforms/Clock.fla");
}
Symbol 353 MovieClip Frame 5
stop();
Symbol 353 MovieClip Frame 9
tellTarget (_root.secrets) {
gotoAndStop (1);
};
Symbol 370 MovieClip Frame 298
tellTarget (_root.secrets) {
gotoAndStop (2);
};
Symbol 379 MovieClip Frame 1
q = 1;
text = "During a research mission on the planet Zebes\nGalactic federation officers dissapeared without a trace.\nAfter picking up strange bio-signs\nThe federation assumed the worst.\nGalactic bounty hunter Samus Aran is sent to investigate.....";
stop();
play();
Symbol 379 MovieClip Frame 2
if (q < text.length) {
textbox = text.substring(0, q);
q++;
} else {
textbox = text;
gotoAndStop (4);
}
Symbol 379 MovieClip Frame 3
gotoAndPlay (2);
Symbol 379 MovieClip Frame 4
_quality = "LOW";
play();
Symbol 379 MovieClip Frame 39
stopAllSounds();
Symbol 379 MovieClip Frame 45
_root.secrets.metroid.play();
Symbol 427 MovieClip Frame 3
this.stop();
Symbol 515 Button
on (release) {
stopAllSounds();
_root.secrets.metroid.gotoAndPlay(248);
}
Symbol 518 Button
on (release) {
gotoAndPlay (1);
}
Symbol 519 MovieClip Frame 1
_quality = "HIGH";
Symbol 519 MovieClip Frame 135
this.stop();
Symbol 522 MovieClip Frame 1
_quality = "HIGH";
Symbol 526 MovieClip Frame 1
stopAllSounds();
Symbol 526 MovieClip Frame 2
stop();
Symbol 526 MovieClip Frame 3
_quality = "HIGH";
Symbol 526 MovieClip Frame 245
stopAllSounds();
Symbol 526 MovieClip Frame 246
_quality = "HIGH";
Symbol 526 MovieClip Frame 247
stop();
Symbol 526 MovieClip Frame 248
stopAllSounds();
Symbol 526 MovieClip Frame 340
tellTarget (_root.secrets) {
gotoAndStop (2);
};
Symbol 527 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 2
stop();
Symbol 536 Button
on (release) {
stopAllSounds();
gotoAndStop (2);
}