Combined Code
frame 1 {
var pctLoaded = Math.round((this.getBytesLoaded() / this.getBytesTotal()) * 100);
bar_mc._xscale = pctLoaded;
}
// unknown tag 88 length 68
movieClip 13 {
}
movieClip 15 {
}
frame 2 {
if (this._framesloaded < this._totalframes) {
this.gotoAndPlay(1);
} else {
this.gotoAndStop(3);
}
}
frame 2 {
skipb = false;
}
frame 3 {
stop();
}
frame 3 {
result = 'RESULT';
victorias = 0;
lives = 7;
loser = 0;
}
// unknown tag 88 length 69
movieClip 28 {
}
// unknown tag 88 length 77
// unknown tag 88 length 63
movieClip 41 {
frame 1 {
stop();
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.gotoAndStop('game');
};
}
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.paneles.gotoAndStop('info');
};
}
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.paneles.gotoAndStop('credits');
};
}
}
frame 2 {
stop();
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.paneles.gotoAndStop('nada');
};
}
}
frame 3 {
stop();
}
}
button 45 {
on (release) {
gotoAndStop('juego');
}
}
button 55 {
on (release) {
if (_root.skipb == true) {
_root.butskip._visible = true;
gotoAndPlay(11);
} else {
_root.butskip._visible = false;
gotoAndPlay(11);
}
}
}
// unknown tag 88 length 62
// unknown tag 88 length 148
movieClip 68 {
frame 10 {
stop();
}
frame 121 {
stop();
}
}
frame 4 {
stop();
}
movieClip 73 {
}
movieClip 74 {
}
movieClip 79 {
}
movieClip 82 {
frame 1 {
stop();
}
frame 26 {
stop();
}
}
movieClip 83 {
frame 1 {
stop();
}
}
movieClip 84 {
}
movieClip 87 {
}
movieClip 97 {
}
movieClip 98 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 104 {
frame 1 {
stop();
}
frame 26 {
stop();
}
}
movieClip 110 {
frame 1 {
stop();
}
frame 26 {
stop();
}
}
movieClip 116 {
frame 1 {
stop();
}
frame 26 {
stop();
}
}
movieClip 117 {
frame 1 {
stop();
}
}
movieClip 123 {
frame 1 {
stop();
}
frame 26 {
stop();
}
}
movieClip 126 {
frame 1 {
stop();
}
frame 26 {
stop();
}
}
movieClip 127 {
frame 1 {
stop();
}
}
movieClip 130 {
frame 1 {
stop();
}
frame 25 {
stop();
}
}
movieClip 131 {
frame 90 {
gotoAndPlay(1);
}
frame 130 {
gotoAndPlay(91);
}
}
movieClip 141 {
}
movieClip 149 {
}
movieClip 185 {
frame 1 {
stop();
}
frame 33 {
gotoAndPlay(1);
}
frame 128 {
gotoAndPlay('placer');
}
frame 160 {
gotoAndPlay(1);
}
frame 192 {
gotoAndPlay(1);
}
frame 239 {
gotoAndPlay(1);
}
frame 271 {
gotoAndPlay(1);
}
frame 303 {
gotoAndPlay(1);
}
frame 350 {
gotoAndPlay(1);
}
}
movieClip 186 {
}
movieClip 187 {
}
button 192 {
on (release) {
gotoAndStop(3);
}
}
movieClip 194 {
}
instance of movieClip 194 {
onClipEvent (load) {
_root.replayb._visible = false;
}
}
button 199 {
on (release) {
_root.trans.nextFrame();
}
}
button 206 {
on (release) {
_root.trans.gotoAndPlay(22);
}
}
movieClip 208 {
}
button 210 {
on (release) {
_root.ray.raypecho.raycabeza.gotoAndPlay('risa');
_root.trans.texto.dialogo.nextFrame();
}
}
button 213 {
on (release) {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.trans.texto.dialogo.nextFrame();
}
}
button 216 {
on (release) {
_root.trans.texto.dialogo.nextFrame();
}
}
button 222 {
on (release) {
_root.ray._visible = false;
_root.replayb._visible = true;
_root.trans.gotoAndStop('badend');
}
}
button 230 {
on (release) {
_root.trans.texto.dialogo.gotoAndStop(10);
}
}
movieClip 248 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.trans.texto.dialogo.nextFrame();
};
}
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.trans.texto.dialogo.gotoAndStop(6);
};
}
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.trans.texto.dialogo.gotoAndPlay(9);
};
}
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.trans.texto.dialogo.nextFrame();
};
}
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.trans.texto.dialogo.nextFrame();
};
}
}
frame 11 {
stop();
}
frame 12 {
stop();
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('gracia');
_root.trans.texto.dialogo.nextFrame();
};
}
}
frame 13 {
stop();
}
frame 14 {
stop();
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('risa');
_root.trans.texto.dialogo.nextFrame();
};
}
}
frame 15 {
stop();
}
frame 16 {
stop();
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.trans.texto.dialogo.gotoAndPlay(5);
};
}
}
instance of movieClip 194 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.gotoAndStop('juego');
};
}
}
}
movieClip 249 {
frame 1 {
stop();
}
}
movieClip 252 {
}
movieClip 254 {
frame 1 {
stop();
}
instance of movieClip 252 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.trans.texto._visible = false;
_root.trans.ojo.gotoAndStop(2);
};
}
}
frame 2 {
stop();
}
instance of movieClip 252 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.trans.texto._visible = true;
_root.trans.ojo.gotoAndStop(1);
};
}
}
}
movieClip 256 {
frame 17 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
}
frame 5 {
stop();
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.gotoAndStop('game');
};
}
}
movieClip 260 {
}
instance of movieClip 260 {
onClipEvent (enterFrame) {
this.onPress = function () {
_root.white.gotoAndPlay(1);
_root.gotoAndStop('stripray');
};
}
}
instance of movieClip 194 {
onClipEvent (load) {
_root.ray._visible = false;
}
}
movieClip 262 {
frame 17 {
stop();
}
}
frame 6 {
stop();
}
frame 6 {
function computerturn(player) {
var v3 = options[Math.floor(Math.random() * 3)];
if (v3 == 'rock') {
_root.computer.gotoAndStop(2);
}
if (v3 == 'paper') {
_root.computer.gotoAndStop(3);
}
if (v3 == 'scissors') {
_root.computer.gotoAndStop(4);
}
computermove = 'Computer played ' + v3;
this.result.true;
if (v3 == player) {
result = 'TIE';
_root.resulgame.gotoAndPlay(2);
}
if (v3 == 'rock' && player == 'scissors') {
result = 'YOU LOSE';
++loser;
--lives;
_root.resulgame.gotoAndPlay(2);
}
if (v3 == 'paper' && player == 'rock') {
result = 'YOU LOSE';
++loser;
--lives;
_root.resulgame.gotoAndPlay(2);
}
if (v3 == 'scissors' && player == 'paper') {
result = 'YOU LOSE';
++loser;
--lives;
_root.resulgame.gotoAndPlay(2);
}
if (player == 'rock' && v3 == 'scissors') {
result = 'YOU WIN';
++victorias;
_root.gamep._visible = true;
_root.resulgame.gotoAndPlay(10);
}
if (player == 'scissors' && v3 == 'paper') {
result = 'YOU WIN';
++victorias;
_root.gamep._visible = true;
_root.resulgame.gotoAndPlay(10);
}
if (player == 'paper' && v3 == 'rock') {
result = 'YOU WIN';
++victorias;
_root.gamep._visible = true;
_root.resulgame.gotoAndPlay(10);
}
if (lives == 0) {
_root.white.gotoAndPlay(1);
_root.ray._visible = true;
_root.ray.raypecho.raycabeza.gotoAndPlay('gracian');
_root.textwindow.gotoAndPlay('loser');
gotoAndStop('rayuno');
}
if (victorias == 8) {
}
}
this.rock.onRelease = function () {
computerturn('rock');
_root.human.gotoAndStop(2);
_root.mov.gotoAndStop('endmov');
};
this.paper.onRelease = function () {
computerturn('paper');
_root.human.gotoAndStop(3);
_root.mov.gotoAndStop('endmov');
};
this.scissors.onRelease = function () {
computerturn('scissors');
_root.human.gotoAndStop(4);
_root.mov.gotoAndStop('endmov');
};
computermove = 'Make a choice';
var options = new Array();
options[0] = 'rock';
options[1] = 'paper';
options[2] = 'scissors';
Math.floor(Math.random() * 3);
}
movieClip 285 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 286 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 289 {
frame 9 {
gotoAndPlay(1);
}
frame 10 {
stop();
}
}
instance of movieClip 194 {
onClipEvent (load) {
_root.result = 'RESULT';
_root.ray._visible = false;
_root.gamep._visible = false;
}
}
button 296 {
on (release) {
_root.result = 'RESULT';
_root.human.gotoAndStop(1);
_root.mov.gotoAndPlay(1);
_root.resulgame.gotoAndStop(1);
}
}
movieClip 300 {
frame 1 {
stop();
}
frame 9 {
stop();
}
frame 17 {
stop();
}
}
button 301 {
on (release) {
_root.white.gotoAndPlay(1);
_root.ray._visible = true;
_root.ray.raypecho.raycabeza.gotoAndPlay('enfadon');
if (_root.victorias == 1) {
_root.textwindow.gotoAndPlay('uno');
gotoAndStop('rayuno');
} else {
if (_root.victorias == 2) {
_root.textwindow.gotoAndPlay('dos');
gotoAndStop('rayuno');
} else {
if (_root.victorias == 3) {
_root.textwindow.gotoAndPlay('tres');
gotoAndStop('rayuno');
} else {
if (_root.victorias == 4) {
_root.textwindow.gotoAndPlay('cuatro');
gotoAndStop('rayuno');
} else {
if (_root.victorias == 5) {
_root.textwindow.gotoAndPlay('cinco');
gotoAndStop('rayuno');
} else {
if (_root.victorias == 6) {
_root.textwindow.gotoAndPlay('seis');
gotoAndStop('rayuno');
}
}
}
}
}
}
}
}
movieClip 305 {
}
movieClip 333 {
frame 1 {
stop();
}
frame 13 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.ray.raypecho.raytorso.brazos.raymanos.raybrac.gotoAndPlay(2);
_parent.nextFrame();
};
}
}
frame 14 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_parent.nextFrame();
};
}
}
frame 15 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.preb._visible = true;
_root.textwindow.gotoAndStop(1);
};
}
}
frame 27 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.ray.raypecho.raytorso.torsoray.raychaleco.gotoAndPlay(2);
_root.ray.raypecho.raytorso.brazos.raymanos.chalecomangas.gotoAndPlay(2);
_parent.nextFrame();
};
}
}
frame 28 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.preb._visible = true;
_root.textwindow.gotoAndStop(1);
};
}
}
frame 40 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('gracia');
_root.ray.raypecho.raytorso.torsoray.rayid.gotoAndPlay(2);
_parent.nextFrame();
};
}
}
frame 41 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.preb._visible = true;
_parent.nextFrame();
};
}
}
frame 53 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('talk');
_root.ray.raypecho.raytorso.torsoray.raytank.gotoAndPlay(2);
_parent.nextFrame();
};
}
}
frame 54 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('gracia');
_root.ray.raypecho.raytorso.torsoray.pechos.gotoAndPlay(2);
_root.ray.raypecho.raytorso.brazos.gotoAndPlay(2);
_parent.nextFrame();
};
}
}
frame 55 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.preb._visible = true;
_root.textwindow.gotoAndStop(1);
};
}
}
frame 67 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('triste');
_root.ray.piernasray.rayundies.pantsray.gotoAndPlay(2);
_parent.nextFrame();
};
}
}
frame 68 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.preb._visible = true;
_parent.nextFrame();
};
}
}
frame 80 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.ray.raypecho.raycabeza.gotoAndPlay('enfado');
_parent.nextFrame();
};
}
}
frame 81 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.nextb._visible = true;
_root.textwindow.gotoAndStop(1);
};
}
}
frame 93 {
stop();
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
this.onRollOver = function () {
this._alpha = 100;
};
this.onRollOut = function () {
this._alpha = 80;
};
this.onPress = function () {
_root.replayb._visible = true;
_root.textwindow.gotoAndStop(1);
};
}
}
}
frame 7 {
stop();
}
button 334 {
on (release) {
_root.skipb = true;
gotoAndStop(3);
}
}
instance of movieClip 194 {
onClipEvent (load) {
_root.nextb._visible = false;
_root.preb._visible = false;
_root.replayb._visible = false;
}
}
button 336 {
on (release) {
gotoAndStop('stripray');
}
}
button 339 {
on (release) {
gotoAndStop('rayend');
}
}
frame 8 {
stop();
}
button 344 {
on (release) {
if (_root.victorias == 6) {
_root.nray.nraytorso.nrayface.gotoAndPlay('talk');
_root.textend.gotoAndStop(2);
_root.endingame.gotoAndPlay(16);
} else {
_root.nray.nraytorso.nrayface.gotoAndPlay('enfado');
_root.textend.gotoAndStop(8);
_root.endingame.gotoAndPlay(16);
}
}
}
movieClip 364 {
}
movieClip 368 {
frame 15 {
stop();
}
frame 31 {
stop();
}
}