Combined Code
frame 1 {
stop();
var score = 0;
}
movieClip 21 {
}
// unknown tag 88 length 69
button 27 {
on (release) {
gotoAndPlay(3);
}
}
button 30 {
on (release) {
gotoAndPlay(2);
}
}
movieClip 61 {
}
button 65 {
on (release) {
gotoAndPlay(22);
}
}
button 69 {
on (release) {
getURL('http://www.bitofgame.com', '_blank');
}
}
movieClip 73 {
frame 95 {
stop();
}
}
instance of movieClip 73 {
onClipEvent (release) {
getURL('http://www.bitofgame.com', '_blank');
}
}
frame 2 {
stop();
}
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
_visible = true;
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
movieClip 86 {
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
movieClip 88 {
}
instance of movieClip 88 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 157;
_root.char._x = 157;
charY = 158;
_root.char._y = 158;
}
}
}
// unknown tag 88 length 59
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
movieClip 97 {
}
movieClip 98 {
}
movieClip 116 {
}
movieClip 119 {
}
movieClip 120 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
}
movieClip 123 {
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(1);
}
}
}
movieClip 130 {
}
movieClip 179 {
}
movieClip 180 {
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
frame 3 {
stop();
}
movieClip 182 {
}
movieClip 184 {
}
movieClip 189 {
}
movieClip 217 {
frame 391 {
stop();
}
}
button 220 {
on (release) {
gotoAndPlay(5);
}
}
frame 4 {
stop();
}
movieClip 222 {
}
instance of movieClip 222 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score += 1;
loadMovie('', this);
}
}
}
movieClip 227 {
}
movieClip 251 {
}
button 256 {
on (release) {
gotoAndPlay(5);
}
}
button 261 {
on (release) {
gotoAndPlay(1);
}
}
frame 5 {
stop();
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
movieClip 263 {
}
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
movieClip 264 {
}
movieClip 265 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(4);
}
}
}
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(7);
}
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
frame 6 {
stop();
}
button 269 {
on (release) {
gotoAndPlay(7);
}
}
button 270 {
on (release) {
gotoAndPlay(23);
}
}
instance of movieClip 222 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score += 1;
loadMovie('', this);
}
}
}
frame 7 {
stop();
}
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
movieClip 273 {
}
movieClip 274 {
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(9);
}
}
}
movieClip 275 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
movieClip 292 {
}
movieClip 293 {
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
frame 8 {
stop();
}
button 297 {
on (release) {
gotoAndPlay(9);
}
}
instance of movieClip 222 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score += 1;
loadMovie('', this);
}
}
}
button 298 {
on (release) {
gotoAndPlay(24);
}
}
frame 9 {
stop();
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
movieClip 306 {
}
movieClip 307 {
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(11);
}
}
}
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
movieClip 311 {
}
movieClip 313 {
}
movieClip 319 {
}
instance of movieClip 319 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 319 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 319 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 319 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
instance of movieClip 319 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
movieClip 320 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
}
frame 10 {
stop();
}
button 323 {
on (release) {
gotoAndPlay(11);
}
}
instance of movieClip 222 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score += 1;
loadMovie('', this);
}
}
}
button 324 {
on (release) {
gotoAndPlay(25);
}
}
frame 11 {
stop();
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
movieClip 331 {
}
movieClip 333 {
}
movieClip 334 {
}
movieClip 335 {
}
instance of movieClip 319 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
movieClip 336 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
}
movieClip 345 {
}
movieClip 349 {
instance of movieClip 345 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(13);
}
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
frame 12 {
stop();
}
button 352 {
on (release) {
gotoAndPlay(13);
}
}
instance of movieClip 222 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score += 1;
loadMovie('', this);
}
}
}
button 353 {
on (release) {
gotoAndPlay(26);
}
}
frame 13 {
stop();
}
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(12);
}
}
}
movieClip 356 {
}
movieClip 358 {
}
movieClip 359 {
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(12);
}
}
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(12);
}
}
}
movieClip 360 {
instance of movieClip 345 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(12);
}
}
}
}
movieClip 363 {
}
movieClip 367 {
instance of movieClip 363 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(12);
}
}
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(15);
}
}
}
frame 14 {
stop();
}
button 370 {
on (release) {
gotoAndPlay(15);
}
}
instance of movieClip 222 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score += 1;
loadMovie('', this);
}
}
}
button 371 {
on (release) {
gotoAndPlay(27);
}
}
frame 15 {
stop();
}
instance of movieClip 263 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
movieClip 379 {
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
movieClip 381 {
}
movieClip 382 {
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
movieClip 398 {
}
movieClip 438 {
instance of movieClip 398 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
}
movieClip 440 {
instance of movieClip 363 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
}
movieClip 441 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
}
instance of movieClip 319 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(14);
}
}
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(17);
}
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
frame 16 {
stop();
}
button 444 {
on (release) {
gotoAndPlay(17);
}
}
instance of movieClip 222 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score += 1;
loadMovie('', this);
}
}
}
button 445 {
on (release) {
gotoAndPlay(28);
}
}
frame 17 {
stop();
}
movieClip 452 {
}
movieClip 454 {
}
movieClip 455 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(16);
}
}
}
}
movieClip 491 {
instance of movieClip 398 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(16);
}
}
}
}
instance of movieClip 319 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(16);
}
}
}
movieClip 493 {
instance of movieClip 363 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(16);
}
}
}
}
movieClip 494 {
instance of movieClip 345 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(16);
}
}
}
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(16);
}
}
}
movieClip 496 {
}
instance of movieClip 496 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(18);
}
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
frame 18 {
stop();
}
movieClip 499 {
}
movieClip 500 {
}
button 503 {
on (release) {
gotoAndPlay(19);
}
}
frame 19 {
stop();
}
button 507 {
on (release) {
gotoAndPlay(20);
}
}
button 510 {
on (release) {
getURL('www.bitofgame.com', '');
}
}
frame 20 {
stop();
}
button 512 {
on (release) {
gotoAndPlay(18);
}
}
button 513 {
on (release) {
gotoAndPlay(21);
}
}
button 517 {
on (release) {
gotoAndPlay(1);
}
}
button 518 {
on (release) {
gotoAndPlay(41);
}
}
frame 21 {
stop();
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 88 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 157;
_root.char._x = 157;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(20);
}
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
frame 22 {
stop();
}
// unknown tag 88 length 61
button 532 {
on (release) {
gotoAndPlay(1);
}
}
frame 23 {
stop();
}
button 534 {
on (release) {
gotoAndPlay(7);
}
}
button 535 {
on (release) {
gotoAndPlay(29);
}
}
button 536 {
on (release) {
gotoAndPlay(35);
}
}
frame 24 {
stop();
}
button 538 {
on (release) {
gotoAndPlay(9);
}
}
button 539 {
on (release) {
gotoAndPlay(30);
}
}
button 540 {
on (release) {
gotoAndPlay(36);
}
}
frame 25 {
stop();
}
button 542 {
on (release) {
gotoAndPlay(11);
}
}
button 543 {
on (release) {
gotoAndPlay(31);
}
}
button 544 {
on (release) {
gotoAndPlay(37);
}
}
frame 26 {
stop();
}
button 546 {
on (release) {
gotoAndPlay(13);
}
}
button 547 {
on (release) {
gotoAndPlay(32);
}
}
button 548 {
on (release) {
gotoAndPlay(38);
}
}
frame 27 {
stop();
}
button 550 {
on (release) {
gotoAndPlay(15);
}
}
button 551 {
on (release) {
gotoAndPlay(33);
}
}
button 552 {
on (release) {
gotoAndPlay(39);
}
}
frame 28 {
stop();
}
button 554 {
on (release) {
gotoAndPlay(17);
}
}
button 555 {
on (release) {
gotoAndPlay(34);
}
}
button 556 {
on (release) {
gotoAndPlay(40);
}
}
frame 29 {
stop();
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 88 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 157;
_root.char._x = 157;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(23);
}
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
frame 30 {
stop();
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
_y = _y + (_root.char._y - _y) / 4;
_x = _x + (_root.char._x - _x) / 4;
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 88 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 157;
_root.char._x = 157;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
charX = 1375;
_root.char._x = 1375;
charY = 158;
_root.char._y = 158;
}
}
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(24);
}
}
}
instance char of movieClip 180 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 7;
var maxJump = -25;
var touchingGround = false;
}
onClipEvent (enterFrame) {
_y = _y + grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 6, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(39)) {
_x = _x + speed;
_xscale = 100;
}
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -100;
}
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;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop('2');
} else {
if (Key.isDown(39)) {
this.gotoAndStop('2');
} else {
this.gotoAndStop('1');
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this.gotoAndStop('3');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.gotoAndStop('4');
}
}
}
frame 31 {
stop();
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(25);
}
}
}
frame 32 {
stop();
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(26);
}
}
}
frame 33 {
stop();
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(27);
}
}
}
frame 34 {
stop();
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(28);
}
}
}
frame 35 {
stop();
}
button 564 {
on (release) {
gotoAndPlay(23);
}
}
frame 36 {
stop();
}
button 566 {
on (release) {
gotoAndPlay(24);
}
}
frame 37 {
stop();
}
button 568 {
on (release) {
gotoAndPlay(25);
}
}
frame 38 {
stop();
}
button 570 {
on (release) {
gotoAndPlay(26);
}
}
frame 39 {
stop();
}
button 572 {
on (release) {
gotoAndPlay(27);
}
}
frame 40 {
stop();
}
button 574 {
on (release) {
gotoAndPlay(28);
}
}
frame 41 {
stop();
}
button 578 {
on (release) {
gotoAndPlay(20);
}
}