Frame 1
plata = 15;
stop();
stopAllSounds();
Instance of Symbol 13 MovieClip in Frame 1
onClipEvent (load) {
ySpeed = 0;
gravity = 3;
bounce = 0.8;
ground = 300;
}
onClipEvent (enterFrame) {
if (_y < ground) {
ySpeed = ySpeed + gravity;
} else if (ySpeed > (gravity * 4)) {
_y = ground;
ySpeed = ySpeed * (-bounce);
} else {
ySpeed = 0;
_y = ground;
}
_y = (_y + ySpeed);
}
onClipEvent (enterFrame) {
if ((_x < 0) || (_x > 550)) {
xSpeed = xSpeed * -1;
}
_x = (_x + xSpeed);
xSpeed = xSpeed * 0.95;
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
xSpeed = (_x - _root._xmouse) / 2;
_y = (_y-1);
ySpeed = ((_y - _root._ymouse) - _height) / 1.5;
}
}
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Instance of Symbol 28 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - _y) / 4));
_x = (_x + ((_root.player._x - _x) / 4));
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - 20;
}
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - 15;
}
}
Instance of Symbol 36 MovieClip "player" in Frame 4
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 15;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
Instance of Symbol 38 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - _y) / 4));
_x = (_x + ((_root.player._x - _x) / 4));
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 55 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 56 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 57 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 58 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 59 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.plata = _root.plata + 10;
}
if (this.hitTest(_root.player)) {
this.gotoAndPlay(18);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 53 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.plata < 1) {
_root.gotoAndPlay(5);
}
}
Frame 5
stop();
Symbol 11 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 11 MovieClip Frame 40
_root.play();
Symbol 20 Button
on (release) {
nextFrame();
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
stop();
Symbol 36 MovieClip Frame 3
stop();
Symbol 38 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
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;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
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;
camControl();
this.onUnload = resetStage;
Symbol 42 MovieClip Frame 17
this.gotoAndPlay(1);
Symbol 42 MovieClip Frame 18
stop();
Symbol 64 Button
on (release) {
nextFrame();
}
Symbol 65 Button
on (release) {
gotoAndPlay (11);
}
Symbol 66 Button
on (release) {
gotoAndPlay (9);
}
Symbol 67 Button
on (release) {
gotoAndPlay (7);
}
Symbol 68 Button
on (release) {
gotoAndPlay (3);
}
Symbol 69 Button
on (release) {
gotoAndPlay (5);
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 81 MovieClip Frame 3
_root.plata = _root.plata - 60;
Symbol 81 MovieClip Frame 4
stop();
Symbol 81 MovieClip Frame 5
_root.plata = _root.plata - 100;
Symbol 81 MovieClip Frame 6
stop();
Symbol 81 MovieClip Frame 7
_root.plata = _root.plata - 85;
Symbol 81 MovieClip Frame 8
stop();
Symbol 81 MovieClip Frame 9
_root.plata = _root.plata - 200;
Symbol 81 MovieClip Frame 10
stop();
Symbol 81 MovieClip Frame 11
_root.plata = _root.plata - 155;
Symbol 81 MovieClip Frame 12
stop();
Symbol 85 Button
on (release) {
gotoAndPlay (1);
}