Frame 1
stop();
Instance of Symbol 2 MovieClip in Frame 1
onClipEvent (enterFrame) {
_y = (_y + ((_root.char._y - _y) / 4));
_x = (_x + ((_root.char._x - _x) / 4));
}
Frame 2
stop();
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 18 MovieClip "char" in Frame 2
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -12;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = (_y + grav);
grav = grav + gravity;
while (ground.hitTest(_x, _y, true)) {
_y = (_y - gravity);
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(38) && (touchingGround)) {
grav = maxJump;
}
if (ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x - speed);
}
if (ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x + speed);
}
if (ground.hitTest(_x, _y - height, true)) {
grav = 3;
}
}
Instance of Symbol 20 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
Frame 3
stop();
stopAllSounds();
Frame 4
stopAllSounds();
Frame 5
stop();
Frame 6
stop();
Instance of Symbol 31 MovieClip in Frame 6
onClipEvent (enterFrame) {
_y = (_y + ((_root.char._y - _y) / 4));
_x = (_x + ((_root.char._x - _x) / 4));
}
Instance of Symbol 13 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(7);
}
}
Instance of Symbol 18 MovieClip "char" in Frame 6
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -12;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = (_y + grav);
grav = grav + gravity;
while (ground.hitTest(_x, _y, true)) {
_y = (_y - gravity);
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(38) && (touchingGround)) {
grav = maxJump;
}
if (ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x - speed);
}
if (ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x + speed);
}
if (ground.hitTest(_x, _y - height, true)) {
grav = 3;
}
}
Frame 7
stop();
stopAllSounds();
Frame 8
stop();
Instance of Symbol 39 MovieClip in Frame 8
onClipEvent (enterFrame) {
_y = (_y + ((_root.char._y - _y) / 4));
_x = (_x + ((_root.char._x - _x) / 4));
}
Instance of Symbol 20 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 18 MovieClip "char" in Frame 8
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -12;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = (_y + grav);
grav = grav + gravity;
while (ground.hitTest(_x, _y, true)) {
_y = (_y - gravity);
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(38) && (touchingGround)) {
grav = maxJump;
}
if (ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x - speed);
}
if (ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x + speed);
}
if (ground.hitTest(_x, _y - height, true)) {
grav = 3;
}
}
Instance of Symbol 52 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(9);
}
}
Instance of Symbol 13 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 13 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 13 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(3);
}
}
Frame 9
stop();
stopAllSounds();
Frame 10
stop();
stopAllSounds();
Instance of Symbol 59 MovieClip in Frame 10
onClipEvent (enterFrame) {
_y = (_y + ((_root.char._y - _y) / 4));
_x = (_x + ((_root.char._x - _x) / 4));
}
Frame 11
stop();
Instance of Symbol 20 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(12);
}
}
Instance of Symbol 18 MovieClip "char" in Frame 11
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -12;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = (_y + grav);
grav = grav + gravity;
while (ground.hitTest(_x, _y, true)) {
_y = (_y - gravity);
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(38) && (touchingGround)) {
grav = maxJump;
}
if (ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x - speed);
}
if (ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x + speed);
}
if (ground.hitTest(_x, _y - height, true)) {
grav = 3;
}
}
Instance of Symbol 13 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(9);
}
}
Instance of Symbol 13 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(9);
}
}
Instance of Symbol 13 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(9);
}
}
Instance of Symbol 13 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(9);
}
}
Frame 12
stop();
stopAllSounds();
Symbol 2 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local3 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local3);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local3;
_parent._yscale = 100 * _local4;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
this.onUnload = resetStage;
Symbol 9 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 28 Button
on (release) {
_root.gotoAndPlay(5);
}
Symbol 31 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local3 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local3);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local3;
_parent._yscale = 100 * _local4;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
this.onUnload = resetStage;
Symbol 33 Button
on (release) {
_root.gotoAndPlay(6);
}
Symbol 39 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local3 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local3);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local3;
_parent._yscale = 100 * _local4;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
this.onUnload = resetStage;
Symbol 41 Button
on (release) {
_root.gotoAndPlay(8);
}
Symbol 57 Button
on (release) {
_root.gotoAndPlay(7);
}
Symbol 59 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local3 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local3);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local3;
_parent._yscale = 100 * _local4;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
this.onUnload = resetStage;
Symbol 61 Button
on (release) {
_root.gotoAndPlay(11);
}