Combined Code
movieClip 2 {
}
movieClip 4 {
frame 1 {
stop();
}
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 14 {
}
movieClip 16 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 33 {
}
movieClip 35 {
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 42 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 48 {
}
movieClip 50 {
}
movieClip 52 {
}
movieClip 53 {
}
movieClip 55 {
}
movieClip 57 {
}
movieClip 59 {
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 67 {
}
movieClip 69 {
}
movieClip 70 {
}
movieClip 72 {
}
movieClip 74 {
}
movieClip 76 {
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 81 {
}
movieClip 82 Player1 {
#initclip
Object.registerClass('Player1', Player);
#endinitclip
frame 1 {
stop();
}
}
movieClip 89 Symbol 1 {
#initclip
Object.registerClass('Symbol 1', Char1);
#endinitclip
frame 1 {
stop();
}
}
instance of movieClip 89 Symbol 1 {
onClipEvent (load) {
gotoAndStop(2);
}
}
instance of movieClip 89 Symbol 1 {
onClipEvent (load) {
gotoAndStop(4);
}
}
instance of movieClip 89 Symbol 1 {
}
instance of movieClip 89 Symbol 1 {
onClipEvent (load) {
gotoAndStop(3);
}
}
instance of movieClip 89 Symbol 1 {
onClipEvent (load) {
gotoAndStop(5);
}
}
movieClip 92 __Packages.Char1 {
#initclip
if (!_global.Char1) {
var v1 = function () {
super();
};
_global.Char1 = v1;
_global.Char1 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {};
v2.onEnterFrame = function () {
this.swapDepths(this.Distance);
this._xscale = this.Distance;
this._yscale = this.Distance;
if (this.Distance > 200) {
this._alpha = 0;
} else {
this._alpha = this.Distance * 5 - 50;
}
this.Distance += this.Distance * 0;
if (Key.isDown(68)) {
this._x -= this.Distance / 5;
}
if (Key.isDown(65)) {
this._x += this.Distance / 5;
}
if (Key.isDown(87)) {
this.Distance += this.Distance / 25;
this._y -= ((this._y - 300) / 2000) * (this.Distance - 100);
this._x -= ((this._x - 300) / 2000) * (this.Distance - 100);
}
if (Key.isDown(83)) {
this.Distance -= this.Distance / 25;
this._y += ((this._y - 300) / 2000) * (this.Distance - 100);
this._x += ((this._x - 300) / 2000) * (this.Distance - 100);
}
if (Key.isDown(16)) {
this._y += this.Distance / 5;
}
if (Key.isDown(32)) {
this._y -= this.Distance / 5;
}
if (_root.PlayerObj.hitTest(this._x, this._y, true)) {
if (this.Distance < 120 && this.Distance > 80) {
this.Distance = 10;
_root.PlayerObj.Glow.gotoAndPlay(2);
}
}
if (this._x - 600 > _root.PlayerObj._x) {
this._x = _root.PlayerObj._x - 500;
}
if (this._x + 600 < _root.PlayerObj._x) {
this._x = _root.PlayerObj._x + 500;
}
if (this._y + 600 < _root.PlayerObj._y) {
this._y = _root.PlayerObj._y + 500;
}
if (this._y - 600 > _root.PlayerObj._y) {
this._y = _root.PlayerObj._y - 500;
}
if (this.Distance > 500) {
this.Distance = 10;
}
if (this.Distance < 10) {
this.Distance = 190;
this._y = Math.floor(Math.random() * 1000) - 100;
this._x = Math.floor(Math.random() * 1000) - 100;
this._alpha = 100;
}
};
v2.Speed = 2;
v2.Distance = 50;
ASSetPropFlags(_global.Char1.prototype, null, 1);
}
#endinitclip
}
movieClip 93 __Packages.Player {
#initclip
if (!_global.Player) {
var v1 = function () {
super();
};
_global.Player = v1;
_global.Player extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
this.swapDepths(100);
if (Key.isDown(16)) {
this.gotoAndStop(9);
} else {
if (Key.isDown(87)) {
this.gotoAndStop(5);
this.CharDirection = 1;
} else {
if (Key.isDown(83)) {
this.gotoAndStop(6);
this.CharDirection = 2;
} else {
if (Key.isDown(65)) {
this.gotoAndStop(8);
this.CharDirection = 4;
} else {
if (Key.isDown(68)) {
this.gotoAndStop(7);
this.CharDirection = 3;
} else {
if (Key.isDown(32)) {
this.gotoAndStop(10);
}
}
}
}
}
}
if (!Key.isDown(68) && !Key.isDown(65) && !Key.isDown(87) && !Key.isDown(83) && !Key.isDown(16) && !Key.isDown(32)) {
this.gotoAndStop(this.CharDirection);
}
};
v2.CharDirection = 1;
ASSetPropFlags(_global.Player.prototype, null, 1);
}
#endinitclip
}