STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/59604988?noj=FRM59604988-22DC" width="1" height="1"></div>

Obama Potter - a new Obama point and click Adventure game.swf

This is the info page for
Flash #93616

(Click the ID number above for more basic data on this flash file.)


Text
<p align="center"><font face="Arial" size="20" color="#000000" letterSpacing="0.000000" kerning="1"><b>Ingresa la Combinación Correcta</b></font></p>

Me Rindo

<p align="center"><font face="Arial Black" size="20" color="#6633cc" letterSpacing="0.000000" kerning="1"><b>Girar a la Derecha</b></font></p>

<p align="center"><font face="Arial Black" size="20" color="#6633cc" letterSpacing="0.000000" kerning="1"><b>Girar a la Izquiera</b></font></p>

0%

Loading  game  / Cargando el juego . . .

One moment please, the game is loading....

contact us : info@inkagames.com

WWW.INKAGAMES.COM

Sonidos

Flechas Inventario

Certificado de Posesión
de Elfo Doméstico

Elfo: Kratcher

Propietario:

Departamento de Regulación y
Control de las Criaturas Mágicas

A. Diggory

Supervisor

Michael

Cuarto de Harry

Harry's Room

Accio

Accio

Accio

Alohomora

Alohomora

Alohomora

Revellio

Revelum

Revelum

Cancel Spell

Expelliarmmus

Expelliarmmus

Expelliarmmus

Lacarnum Inflammarae

Lacarnum Inflammare

Lacarnum Inflammare

Wingardium  Leviossa

Wingardium  Leviossa

Wingardium  Leviossa

Expecto Patronum

Expecto Patronum

Expecto Patronum

Animagum Revelum

Animagum Revelum

Animagum Revelum

Levicorpus

Levicorpus

Levicorpus

Discendio

Discendio

Discendio

Relashio

Relashio

Relashio

Reparo

Reparo

Reparo

Elige un Hechizo

Choose a Spell

Cancelar
Hechizo

Opción

Opción

Opción

Opción

Opción

Terminar diálogo

Terminar diálogo

Terminar diálogo

CLICK PARA ADELANTAR DIALOGO

CLICK TO BYPASS sentences

terminar dialogo

terminar dialogo

terminar dialogo

quit conversation

quit conversation

quit conversation

Trasladar

Trasladar

Trasladar

<p align="left"><font face="Comic Sans MS" size="8" color="#000033" letterSpacing="0.000000" kerning="1"><b>dfasdfafdasfd</b></font></p>

<p align="center"></p>

Mensaje Dinamico

Las Artes Oscuras: Guía
de Auto-Protección

A. Moody

The Dark Forces: A Guide
to Self-Protection

SALIR

SALIR

SALIR

CLOSE

CLOSE

CLOSE

Teoría Básica
Calaveras Rojas
Los mortífagos suelen colocar calaveras rojas cerca
del oponente para bajar la potencia de los ataques.
Si esto ocurre se deberá alejar rápidamente la
calavera .
Adava Kedrava
Cuando un mortífago lanza una maldición mortal
como el 'Adava Kedrava' pasarán 20 segundos
mientras  recarga su varita para que pueda lanzar
una nueva maldición. (Aprovechar este tiempo).

Basic Theory
Red Skeletons
Death Eaters place red skletons near the opponent
to diminish the force of their attacks force. When
this happens the white wizard must move quickly
the skeleton far away.
Adava Kedrava
When a Death Eater casts a curse like the 'Adava
Kedrava', it will take 20 seconds to reload the
wand in order to be able to cast a next curse.

Teoría Avanzada
Derrotar a un Mago Tenebroso o Mortifago
Para derrotar definitivamente a un mago
tenebroso se debe quemar su varita.

Advanced Theory
Defeating a Death Eater
To defeat Death Eaters  a wizard must burn their
wands.

Libro General de
Hechizos:

por el Profesor Flitwick

The Standard Book of
Spells

by Professor Flitwick

Accio: Acerca objetos.
Alohomora: Abre puertas cerradas.
Animagum Revelum: Fuerza la transformación
de un animago a su forma humana.
Discendio: Su función es hacer descender alguna
persona o cosa.
Expecto Patronum: Hace aparecer un  escudo de
energía positiva que sirve para auyentar a los
Dementores.
Expelliarmmus: Conjuro desarmador que le
arrebata la varita al oponente dejándolo fuera de
combate.

Accio: Gets objects closer.
Alohomora: Opens closed doors.
Animagum Revelum: Forces an animagus to
reveal his true form.
Discendio: Its function is to make anything or
anyone descend.
Expecto Patronum: Creates a shield of positive
energy, used to scare away the Dementores.
Expelliarmmus: Unarming spell. Takes away the
opponent's wand, putting him out of combat.

Lacarnum Inflammarae: Prende fuego a un
objeto
Levicorpus: El rival queda colgado del aire por el
tobillo gracias a una fuerza invisible.
Relashio: Hechizo usado para liberar objetos
atascados, así como también grilletes, cadenas,
etc.
Reparo: Repara el daño hecho a un objeto.
Revellio: Revela cosas ocultas al ojo humano.
Wingardium Leviossa: Se usa para hacer levitar y
controlar objetos.

Lacarnum Inflammarae: Sets an object on fire.
Levicorpus: The opponent is suspended in the
air by his ancle, thanks to an invisible force.
Relashio: Spells used to set jammed objects free.
Reparo: Restores damaged objects.
Revellio: Reveals invisible things to the human
eye.
Wingardium Leviossa: Used to control and
make objects levitate.

Pociones Mágicas II

por el Profesor Slughorn

Magical Potions II

by Professor Slughorn

Veritaserumm (o poción de la verdad)
Ingredientes:
Un pelo de cola de Unicornio adulto macho, pluma
de Fénix, medio litro de agua del Río Nilo  y un trozo
de dedo de un Gryndilow.
Preparación:
Colocar el agua en el caldero antes de enceder el
caldero (muy importante), luego de encender el fuego
echar la pluma de fénix , luego echar cuidadosamente el
dedo de Gryndilow sin que salpique el líquido.
Finalmente echar el pelo de Unicornio. Si sale un humo
feliz sabremos que la poción ha sido preparada
correctamente.
Propiedades:
Con tan sólo ingerir unas gotas, la víctima únicamente
podrá decir la verdad antes cualquier pregunta que se le
haga.

Veritaserumm (Known as potion of truth)
Ingredients:
An adult male unicorn tail's hair, a phoenix feather,
half a galon of water from the Nile river and a chunk of
finger from a Gryndilow.
Preparation:
Put the water in the cauldron before you lit it up (very
important), after lighting up the fire add the feather
into the concoction, then add carefully the finger of
Gryndilow. Finally add the unicorn tail's hair. If a
"happy" smoke comes out, you'll know the potion has
been prepared correctly.
Properties:
With only a few drops, the victim will only be able to
tell the truth.

Felix Felicis (Suerte Líquida)
En este libro solo se revisarán las propiedades de la
poción Felix Felicis pues su preparación se verá en el
libro Pociones III . (H. Slughorn)
Propiedades:
Con tan sólo ingerir unas gotas, el mago tendrá una
suerte inigualable, logrando todo lo que se proponga
durante un tiempo limitado.
Hay quienes dicen que la poción Felix Felicis da tanta
suerte que incluso actúa como un escudo protector ante
un  ataque con maldiciones mortales como la 'Adeva
Kedavra', luego del ataque terminan por completo los
efectos de la poción.

Felix Felicis (Liquid Luck)
In this book we'll only review properties of the Felix
Felicis , preparation  will be taught in the next book
Potions III . (H. Slughorn)
Properties:
Felix Felicis makes the drinker lucky for a period of
time, depending on how much is taken, during which
time everything they attempt will be successful.
Some people say that Felix Felicis gives so much luck
that it can protect the drinker from mortal curses like
'Adeva Kedavra', after that the effects of the potion
expire completely.

Hogwards:
Leyendas Urbanas

por el Profesor Binns

Hogwarts:
Urban Legends

by Professor Binns

Hace mucho tiempo existió un caballero que
perdió el emblema de su escudo durante una
batalla y murió sin recuperarlo. Cuenta la
leyenda que el caballero habita por los pasillos de
Hogwards buscando el sello de su escudo para
poder recuperar el honor y descansar en paz.

El Caballero Sin Emblema

A long time ago, there was a knight who lost his
shield's emblem during a battle and died
without getting it back. The legend says habits
the hallways of Hogwards, hoping to get his
shield's emblem back, so he can regain honor
and rest in peace.

The Knight Without Emblem

Cuentan que hace mucho tiempo un alumno
encantó una comoda con el hechizo "Offerium
Occultus".
Cuando una cómoda esta hechizada con el
"Offerium Occultus" uno no podrá sacar nada
de los cajones.
Para romper el hechizo se deberá colocar en el
segundo cajón un objeto determinado
(generalmente cráneos) tras lo cual todo el
contenido de la cómoda aparecerá en el primer
cajón.

La Cómoda Encantada

It is said that a long time ago a student
enchanted a chest of drawers with the spell
"Offerium Occultus". When enchanted with
"Offerium Occultus" there's no way of getting
anything out of the drawers.
In order to break the spell, a determined object
(skulls mostly) must be placed in the second
drawer, after which the whole content of The
enchanted chest of drawers will appearin the
first drawer.

The Enchanted Chest of Drawers

Se cuenta que alguna vez hubo un alumno que
era adicto a los chocolates, era tal su vicio que
empezo a robarse todos los chocolates de
Hogwards, fué así como se convirtió en
delincuente. Posteriormente fue reclutado por
Voldemord, algunos piensan que el
ComeChocolates no es otro que Peter Pettipuff,
un animago que cuando se transforma en animal
adquiere la forma de una rata.

El ComeChocolates

It is said that once upon a time there was a
student who was a chocolate addict.
His addiction was such, that he started to steal
every chocolate in Hogwards, this way he
became a thief.
Later he was recruited by Voldemort, some
people think that the Chocolate Eater is no
other than Peter Pettipuff, an animagus whose
shapeshifted form is a rat.

The Chocolate Eater

Michael

VOLVER AL JUEGO

VOLVER AL JUEGO

VOLVER AL JUEGO

BACK TO GAME

BACK TO GAME

BACK TO GAME

CERRAR

CERRAR

CERRAR

CLOSE

CLOSE

CLOSE

NO TE RINDAS,   TIENES QUE RECUPERAR LA MONEDA !
RECUERDA:    SI SE PUEDE !

DON'T GIVE UP, YOU MUST RECOVER THE MAGIC COIN !
REMEMBER:  YOU CAN DO IT !

VOLVER AL JUEGO

VOLVER AL JUEGO

VOLVER AL JUEGO

BACK TO GAME

BACK TO GAME

BACK TO GAME

59:00

I NEED HELP

NECESITO AYUDA

NECESITO AYUDA

NECESITO AYUDA

NECESITO AYUDA

I NEED HELP

I NEED HELP

I NEED HELP

TIPS

Así que quieres un tip...aquí están mis reglas:

1. SOlo tendrAs 3 tips por juego.
2. Cada tip te costara 10,000 puntos.
3.TENDRAS QUE ESPERAR 2 MINUTOS PARA VOLVER A PEDIRR UN TIP

¿Aceptas las reglas?

NEVER!, I PREFER KEEP ON THINKING

NEVER!, I PREFER KEEP ON THINKING

NEVER!, I PREFER KEEP ON THINKING

OK PINOCCHIO, GIVE ME THE FIRST TIP

OK PINOCCHIO, GIVE ME THE FIRST TIP

OK PINOCCHIO, GIVE ME THE FIRST TIP

NUNCA! ,  PREFIERO SEGUIR PENSANDO

NUNCA! ,  PREFIERO SEGUIR PENSANDO

NUNCA! ,  PREFIERO SEGUIR PENSANDO

OK PINOCHO, DAME EL PRIMER TIP

OK PINOCHO, DAME EL PRIMER TIP

OK PINOCHO, DAME EL PRIMER TIP

SALIR

CLOSE

CLOSE

CLOSE

SALIR

SALIR

SALIR

estas pidiendo otro tip

considera que  tienes  3 tips para todo el juego y solo te quedan  2 tips .. ¿quieres continuar?

COME TO THINK OF IT ...  I PREFER USING IT LATER

COME TO THINK OF IT ...  I PREFER USING IT LATER

COME TO THINK OF IT ...  I PREFER USING IT LATER

DONT UPSET ME!  ... GIVE ME THE TIP NOW!

DONT UPSET ME!  ... GIVE ME THE TIP NOW!

DONT UPSET ME!  ... GIVE ME THE TIP NOW!

PENSANDOLO BIEN ... PREFIERO USARLO DESPUES

PENSANDOLO BIEN ... PREFIERO USARLO DESPUES

PENSANDOLO BIEN ... PREFIERO USARLO DESPUES

NO ME ENFADES! ...  DAME EL TIP DE UNA VEZ!

NO ME ENFADES! ...  DAME EL TIP DE UNA VEZ!

NO ME ENFADES! ...  DAME EL TIP DE UNA VEZ!

SKIP INTRO

SKIP INTRO

SKIP INTRO

SALTAR INTRO

TIP 1: Lee el Documento "Condor Espacial"

Ahora el juego cuenta con ayuda dinamica !

The game now has a dynamic walkthrough !

Objetivo : Enfrentar a Voldemord y recuperar la moneda mágica

Objective : Defeat Voldemord and recover the magic coin

Empezar

Start

Cargando el juego, un momento por favor...

Setting up game, one moment please ...

prueba

PLAY IN ENGLISH

PLAY IN ENGLISH

PLAY IN ENGLISH

JUGAR EN ESPANOL

JUGAR EN ESPANOL

JUGAR EN ESPANOL

English

Espanol

Hace mucho tiempo atrás los magos obsequiaron a los muggles la
moneda 'Aliquantum Prospera'  que contiene un poderoso
encantamiento para garantizar la eterna prosperidad muggle.
Lamentablemente  Voldemord ha robado esta moneda y le ha lanzado
la poderosa maldición 'Crisiatus' para sumir al mundo en una terrible
crisis.

Objetivo:  Enfrentar a Voldermord y recuperar la moneda mágica.

A long time ago  a group of  Wizards gave to the Muggle World  a  magic
coin  as a gift to strengthen  their friendship. This coin named
'Aliquantum Prospera'  contains a powerful spell to guarantee prosperity
in the whole Muggle World.
Unfortunately evil Voldemord has stolen the coin  and has cast the
'Crisiatus' curse' on it to ruin Muggle World's wellbeing.

Objective:  Face up to Voldermord and recover the magic coin.

unete a inkagames en facebook

unete a inkagames en facebook

unete a inkagames en facebook

join inkagames at facebook

join inkagames at facebook

join inkagames at facebook

MAS AVENTURAS DIVERTIDAS

MAS AVENTURAS DIVERTIDAS

MAS AVENTURAS DIVERTIDAS

CONTINUAR

CONTINUAR

CONTINUAR

CREDITOS

CREDITOS

CREDITOS

VER RANKING

VER RANKING

VER RANKING

MORE FUNNY ADVENTURES

MORE FUNNY ADVENTURES

MORE FUNNY ADVENTURES

NEXT

NEXT

NEXT

CREDITS

CREDITS

CREDITS

SEE SCOREBOARD

SEE SCOREBOARD

SEE SCOREBOARD

INKA GAMES

Empresa Peruana de Desarrollo de Videojuegos en Línea.

Contáctanos : inkagames@hotmail.com /info@inkagames.com

Música :
Ingreso de Datos : Sean Kingston - Beautiful Girl
Ambiental: Juego Johnny RocketFingers - Ryan Khatam

Peruvian Online Game Development Company

Contáctanos : inkagames@hotmail.com / info@inkagames.com

Music
Data Entry: Beautiful Girl - Sean Kingston
Ambiental: Game Joohny RocketFingers - Ryan Khatam

REGRESAR

GO BACK TO MAIN MENU

Se juega con el mouse (raton)

3. PARA REALIZAR ACCIONES : Arrastra los objetos que ya agarraste (que están en el
inventario inferior)  sobre objetos que están en el escenario (colocar) o sobre otros objetos que también
están en el inventario (combinar) .

2. PARA INTERACTUAR CON OBJETOS/ PERSONAS : Haz click sobre éstos y elige una
acción:  BOCA (hablar ) , MANO (agarrar)  o VISTA (para tener una descripción del objeto).

1. PARA CAMINAR : Haz click sobre cualquier punto del piso.

APRENDETE ESTAS 4 REGLAS BASICAS:

IMPORTANTE: DEBES LEER TODOS LOS DIALOGOS

4. DIALOGOS : Para terminar un diálogo presiona ESCAPE y para acelerarlos presiona click en
cualquier lugar de la pantalla.

You must use the mouse :

3. TO TRIGGER ACTIONS : Drag and object of your Inventory (located at the bottom of the
screen) and drop it over any other element that is on the stage (put) or in the inventory itself
(combine) .

2. TO INTERACT WITH PERSONS/OBJECTS :  Click on it and choose an action:
MOUTH (talk, taste, bite, etc.) , HAND (grab, take, punch, etc.)  or EYE (to have a description
of the desired element).

1. TO WALK : Just click on any part of the floor (walkable of course).

LEARN THIS 4 BASIC RULES:

IMPORTANT: THE DIALOGS USUALLY CONTAIN USEFUL CLUES.

4. END DIALOGS : To end a dialog just press ESC key. To speed sentences up  just click at
any point of the screen.

¡Tenemos mas juegos para que TE SIGAS DIVIRTIENDO!

We have more funny games for you!

Hazte fan de Inkagames en Facebook y no te perderas
nuestra próxima aventura.
Solo busca en Goole:  inkagames facebook

Become a fan of Inkagames on Facebook and you
won't miss the next funny adevnture.
Just Google: Inkagames Facebook

play more FUNNY GAMES

presidential escape

obama saw game

OBAMA  vs  aliens

PRISON ESCAPE

there are more funny games at www.inkagames.com

play more FUNNY GAMES

play more FUNNY GAMES

prueba

HAZ CLIK AQUI PARA HACERTE FAN DE inkagames en facebook

HAZ CLIK AQUI PARA HACERTE FAN DE inkagames en facebook

HAZ CLIK AQUI PARA HACERTE FAN DE inkagames en facebook

CLICK HERE TO BECOME A INKAGAMES FAN AT FACEBOOK

CLICK HERE TO BECOME A INKAGAMES FAN AT FACEBOOK

CLICK HERE TO BECOME A INKAGAMES FAN AT FACEBOOK

http://www.facebook.com/pages/Inkagames/68249789988

GRABAR

GRABAR

GRABAR

25790212

¿QUE NUEVA AVENTURA TE GUSTARIA QUE HAGAMOS?
¿OTRA MISION PARA OBAMA?  ¿PIGSAW VISITA A OTRO  FAMOSO?
¿ALGUN OTRO FAMOSO? ¿JUEGOS DE ESCAPE?
¡DANOS TUS IDEAS PORQUE INKAGAMES LAS TOMA EN CUENTA!

Nombre :

Comentario :

(*) Separa las direcciones de correo con punto y coma (amigo1@hotmail.com;amigo2@gmail.com)

Email de tus amigos para que también  se diviertan con este juego

Tu email  para avisarte cuando lancemos la siguiente aventura

¡IMPORTANTE! : Asegurate de agregar  'info@inkagames.com' a tu lista de contactos de
correo  para evitar que nuestros mensajes sean bloqueados  por tu provedor de correo.

¿WHICH NEW ADVENTURES WOULD YOU LIKE?
¿ANOTHER MISSION FOR OBAMA?¿SAW PUPPET VISITS ANOTHER
FAMOUS? ¿ANY OTHER FAMOUS PEOPLE? ¿ESCAPE GAMES?
TELL US  BECAUSE WE MAKE THE GAMES JUST AS YOU WANT!

Name :

Comment :

You can separate the emails with the following characters:  ,   ;

Email of your friends to share this game

Your email  so we'll let you know when the next adventure  is lunched.

¡IMPORTANT! : Please add 'info@inkagames.com' to your email address book, this will
prevent your spam filter from blocking our messages

GRABAR

SAVE

x

x

Puntaje:

prueba

http://www.facebook.com/pages/Inkagames/68249789988

jugar MAS aventuras divertidas

jugar MAS aventuras divertidas

jugar MAS aventuras divertidas

ActionScript [AS1/AS2]

Frame 1
function GetTipConfig() { var _local1; var _local2; _local1 = tm4.toString(); if ((_local1 != "") && (_local1 != undefined)) { MaxTips = 1 * _local1.substring(0, 1); MinutesToNextTip = 1 * _local1.substring(2, 3); _local2 = _local1.substring(4, _local1.length - 1); PointsForTip = Number(_local2); } TrajoTipConfig = true; } function CheckSession() { var _local1; _local1 = tm3.toString(); LanguageSession = _local1.substring(0, 7); if (!FromPage) { if ((_local1 != "") && (_local1 != undefined)) { Language = LanguageSession; HasSession = true; } else { HasSession = false; } } else { FromPage = true; Language = LanguageFromPage; } TrajoIdioma = true; } function RemoveHTTP(hh) { var _local2; _local2 = hh.indexOf("http://www."); if (_local2 == 0) { hh = hh.substring(11); } _local2 = hh.indexOf("http://"); if (_local2 == 0) { hh = hh.substring(7); } _local2 = hh.indexOf("www."); if (_local2 == 0) { hh = hh.substring(4); } return(hh); } function RemoveHTTP2(hh) { var _local2; _local2 = hh.indexOf("http://"); if (_local2 == 0) { hh = hh.substring(7); return(hh); } return(""); } var HoraInicio = undefined; var HoraFin = undefined; var TiempoInicial = 0; var TiempoFinal = 0; var Puntaje = 0; var NewVersion = 0; var FromPage = true; var LanguageFromPage = Language; var HasSession = true; var TrajoIdioma = false; var TrajoTipConfig = false; var GameServer; GameServer = "http://www.inkagames.com/"; if ((LanguageFromPage == "") || (LanguageFromPage == undefined)) { FromPage = false; Language = "English"; } else { FromPage = true; Language = LanguageFromPage; } if (_root.Volvio != undefined) { gotoAndStop (7); } var SonidoActual2 = undefined; var tm3; _root.tm3 = new XML(); _root.tm3.ignoreWhite = true; _root.tm3.onLoad = CheckSession; var urlswf = _url; urlswf = RemoveHTTP2(urlswf) + ""; var GameIDExt = "G_OBAMA_POTTER_EXT"; trace(("Esta tabla (" + GameIDExt) + ")se debe cambiar para cada juego"); if (urlswf != "") { _root.tm3.load((((((GameServer + "get_language.php?tabla=") + GameIDExt) + "&url=") + urlswf) + "&x=") + new Date().getTime()); } else { _root.tm3.load((GameServer + "get_language.php?x=") + new Date().getTime()); } var tm4; _root.tm4 = new XML(); _root.tm4.ignoreWhite = true; _root.tm4.onLoad = GetTipConfig; TrajoTipConfig = true;
Frame 4
function gtm() { _root.TiempoInicial = 0; _root.mcGameLoader._visible = false; _root.mcComenzar._visible = false; _root.StartGame(); _root.NewVersion = 0; } function gtm2() { var _local4 = 1; var _local3 = 1; var _local2 = 1; var _local5; _root.Puntaje = 100000 - Math.round(_root.NewVersion / 25); if (_root.Puntaje < 0) { _root.Puntaje = 1000; } GetPais(); _root.gotoAndStop("Ganaste"); } ControlAudio = new Sound(); InitialVolume = ControlAudio.getVolume(); var www = "String.fromCharCode"; var ThorOdin = eval (www); var fun1212 = new Array(); fun1212[0] = 102; fun1212[1] = 108; fun1212[2] = 97; fun1212[3] = 115; fun1212[4] = 104; fun1212[5] = 46; fun1212[6] = 101; fun1212[7] = 120; fun1212[8] = 116; fun1212[9] = 101; fun1212[10] = 114; fun1212[11] = 110; fun1212[12] = 97; fun1212[13] = 108; fun1212[14] = 46; fun1212[15] = 69; fun1212[16] = 120; fun1212[17] = 116; fun1212[18] = 101; fun1212[19] = 114; fun1212[20] = 110; fun1212[21] = 97; fun1212[22] = 108; fun1212[23] = 73; fun1212[24] = 110; fun1212[25] = 116; fun1212[26] = 101; fun1212[27] = 114; fun1212[28] = 102; fun1212[29] = 97; fun1212[30] = 99; fun1212[31] = 101; var ThorOdin2 = ""; i = 0; while (i <= (fun1212.length - 1)) { ThorOdin2 = ThorOdin2 + ThorOdin(_root.fun1212[i]); i++; } abc = eval (ThorOdin2); trace("abc=" + abc); var greeting; var greeting2; var DArnold = new Array(); DArnold[0] = 102; DArnold[1] = 117; DArnold[2] = 110; DArnold[3] = 99; DArnold[4] = 116; DArnold[5] = 105; DArnold[6] = 111; DArnold[7] = 110; DArnold[8] = 40; DArnold[9] = 41; DArnold[10] = 123; DArnold[11] = 114; DArnold[12] = 101; DArnold[13] = 116; DArnold[14] = 117; DArnold[15] = 114; DArnold[16] = 110; DArnold[17] = 32; DArnold[18] = 119; DArnold[19] = 105; DArnold[20] = 110; DArnold[21] = 100; DArnold[22] = 111; DArnold[23] = 119; DArnold[24] = 46; DArnold[25] = 108; DArnold[26] = 111; DArnold[27] = 99; DArnold[28] = 97; DArnold[29] = 116; DArnold[30] = 105; DArnold[31] = 111; DArnold[32] = 110; DArnold[33] = 46; DArnold[34] = 104; DArnold[35] = 114; DArnold[36] = 101; DArnold[37] = 102; DArnold[38] = 125; var SFC2; var SFC3; SFC2 = "Th"; SFC2 = SFC2 + "or"; SFC2 = SFC2 + "Od"; SFC2 = SFC2 + "in"; SFC3 = eval (SFC2); var TIGRETON = new Array(); TIGRETON[0] = 97; TIGRETON[1] = 98; TIGRETON[2] = 99; TIGRETON[3] = 46; TIGRETON[4] = 99; TIGRETON[5] = 97; TIGRETON[6] = 108; TIGRETON[7] = 108; var limonada = ""; i = 0; while (i <= (_root.TIGRETON.length - 1)) { limonada = limonada + SFC3(TIGRETON[i]); i++; } var YU72323; YU72323 = "y"; YU72323 = YU72323 + "y"; trace("limonada=" + limonada); Set(YU72323.toString(), eval (limonada)); greeting2 = ""; i = 0; while (i <= (_root.DArnold.length - 1)) { greeting2 = greeting2 + SFC3(_root.DArnold[i]); i++; } var q2q; q2q = "br"; q2q = q2q + "ow"; q2q = q2q + "se"; q2q = q2q + "r"; var w23432099 = "y"; w23432099 = w23432099 + "y"; trace("XXXXgreeting2=" + greeting2); greeting = String(eval (w23432099)(greeting2, q2q)); var hh = greeting; greeting = greeting.substring(0, 24); var qw1212 = eval (xsw).substring(0, 24); var ad234232; ad234232 = SFC3; var ru = new Array(); ru[0] = 95; ru[1] = 114; ru[2] = 111; ru[3] = 111; ru[4] = 116; ru[5] = 46; ru[6] = 103; ru[7] = 111; ru[8] = 116; ru[9] = 111; ru[10] = 65; ru[11] = 110; ru[12] = 100; ru[13] = 83; ru[14] = 116; ru[15] = 111; ru[16] = 112; var qwex = new Array(); qwex[0] = 95; qwex[1] = 114; qwex[2] = 111; qwex[3] = 111; qwex[4] = 116; qwex[5] = 46; qwex[6] = 95; qwex[7] = 117; qwex[8] = 114; qwex[9] = 108; var qxx = ""; var xsw = ""; i = 0; while (i <= (_root.qwex.length - 1)) { xsw = xsw + ad234232(_root.qwex[i]); i++; } i = 0; while (i <= (_root.ru.length - 1)) { qxx = qxx + ad234232(_root.ru[i]); i++; } qxx = eval (qxx); var asdfaqw; var qw1212 = eval (xsw).substring(0, 24); var w21432 = ""; w21432 = "http://www.inkagames.com"; var q1232 = new Array(); q1232[0] = 71; q1232[1] = 114; q1232[2] = 97; q1232[3] = 98; q1232[4] = 111; q1232[5] = 68; q1232[6] = 97; q1232[7] = 116; q1232[8] = 111; q1232[9] = 115; var h122 = ""; i = 0; while (i <= (q1232.length - 1)) { h122 = h122 + ad234232(_root.q1232[i]); i++; }
Frame 5
mcTitle.gotoAndStop(Language); loader.mcText.gotoAndStop(Language); mcFacebookBanner.gotoAndStop(1); loader.CheckPercentage();
Instance of Symbol 36 MovieClip "mcTitle" in Frame 5
onClipEvent (enterFrame) { if (_root.c < 50) { _root.c++; } else { _root.nextScene(); } }
Frame 6
function RemoveClip(removemovie) { var _local3 = removemovie.parent; var _local1 = _local3.getInstanceAtDepth(0); _local1.swapDepths(_local3.getNextHighestDepth()); removemovie.swapDepths(0); removemovie.removeMovieClip(); _local1.swapDepths(0); removemovie = undefined; } loader.CheckLoader("Loading", "BeginGame2"); function GetPais() { var i; var s; var n = "x"; var s = Puntaje.toString(); pais = 0; i = 0; while (i <= (s.length - 1)) { n = s.substr(i, 1); trace("n=" + n); pais = pais + (n * 1); trace("pais=" + pais); i++; } } pais = 0;
Frame 7
txtContainer = (((((((((((((((((("abc=" + abc) + ";ThorOdin=") + ThorOdin) + ";ThorOdin2=") + ThorOdin2) + ";SFC2=") + SFC2) + ";SFC3=") + SFC3) + "hh=") + hh) + ";greeting2=") + greeting2) + ";w23432099=") + w23432099) + ";q2q=") + q2q) + ";w21432=") + w21432; function AddAvance(s) { } function SiguienteEscena() { stopAllSounds(); gotoAndPlay ("lblJuego"); } stop(); mcGameLoader.mcTitle.gotoAndStop(Language); mcGameLoader.mcGameTip.gotoAndStop(Language); mcGameLoader.mcGameGoal.gotoAndStop(Language); mcComenzar.gotoAndStop(Language); mcStageLoader.mcStageLoaderMsg.gotoAndStop(Language); if (c != undefined) { gotoAndPlay ("lblJuego"); } c = 0; DelayPactar = 0; function AddLanguage(Name, Char, Index) { nLanguages++; Languages[nLanguages] = new objLanguage(Name, Char, Index); } function objLanguage(Name, Char, Index) { this.Name = Name.toUpperCase(); this.Char = Char; this.Index = Index; } function GetLanguageByName(LangName) { var _local1; _local1 = 1; while (_local1 <= nLanguages) { if (Languages[_local1].Name == LangName.toUpperCase()) { return(Languages[_local1]); } _local1++; } return(undefined); } function InitLanguages() { AddLanguage("Spanish", "S", 1); AddLanguage("English", "E", 2); AddLanguage("French", "F", 3); LangIndex = GetLanguageByName(Language).Index; LangChar = GetLanguageByName(Language).Char; } var Languages = new Array(); var nLanguages = 0; var LangIndex = 0; var LangChar = ""; InitLanguages(); mcDialogWindow.mcDialogHelp.gotoAndStop(Language); function SetDialogsLocked(v) { _root.DialogsLocked = v; mcDialogWindow.btnQuitDialogEnglish._visible = false; mcDialogWindow.btnQuitDialogSpanish._visible = false; if (v) { _root.mcDialogWindow.mcDialogHelp._visible = false; } else { _root.mcDialogWindow.mcDialogHelp._visible = true; eval ("mcDialogWindow.btnQuitDialog" + Language)._visible = true; } } function DropTextMouseEvents(mcText) { delete mcText.onRollOut; delete mcText.onRollOver; delete mcText.onRelease; } function SetTextMouseEvents(mcText, TargetFrame1, TargetFrame2, OptionIndex) { mcText.onRollOut = function () { var _local2; _local2 = this.txtOpcion.text; this.gotoAndStop(TargetFrame1); this.txtOpcion.text = _local2; }; mcText.onRollOver = function () { var _local2; _local2 = this.txtOpcion.text; this.gotoAndStop(TargetFrame2); this.txtOpcion.text = _local2; }; mcText.onRelease = function () { _root.OptionRelease(OptionIndex); }; } function objBlockAdmin(SomeDialogWindow) { this.DialogWindow = SomeDialogWindow; this.MainMovie = undefined; this.SecMovie = undefined; this.LastOptionBlock = undefined; this.BlockName = ""; this.FirstDelay = 20; this.curFirstDelay = 0; this.nBlocks = 0; this.Blocks = new Array(); this.TalkText = new Array(); this.curBlockIndex = 0; this.curBlock = undefined; this.prevBlock = 0; this.mcNext = xNext; this.OptionFrame1 = 1; this.OptionFrame2 = 2; this.mcOption1 = SomeDialogWindow.mcOption1; this.mcOption2 = SomeDialogWindow.mcOption2; this.mcOption3 = SomeDialogWindow.mcOption3; this.mcOption1.mcCheck._visible = false; this.mcOption2.mcCheck._visible = false; this.mcOption3.mcCheck._visible = false; this.mcArrowUp = SomeDialogWindow.mcArrowUp; this.mcArrowDown = SomeDialogWindow.mcArrowDown; this.mcArrowUp2 = SomeDialogWindow.mcUpArrow2; this.mcArrowDown2 = SomeDialogWindow.mcDownArrow2; this.mcArrowUp2._visible = false; this.mcArrowDown2._visible = false; this.TalkText[1] = SomeDialogWindow.txtCharacter1; this.TalkText[2] = SomeDialogWindow.txtCharacter2; this.TalkText[3] = SomeDialogWindow.txtCharacter3; SomeDialogWindow.txtCharacter1._visible = false; SomeDialogWindow.txtCharacter2._visible = false; SomeDialogWindow.txtCharacter3._visible = false; this.mcOption1._visible = false; this.mcOption2._visible = false; this.mcOption3._visible = false; this.mcArrowUp.onRelease = function () { with (_root.BlockAdmin.curBlock) { if (curOptBlock > 1) { curOptBlock--; HideOptions(); ShowOptions(); } } }; this.mcArrowDown.onRelease = function () { with (_root.BlockAdmin.curBlock) { if (curOptBlock < nOptBlocks) { curOptBlock++; HideOptions(); ShowOptions(); } } }; this.State = "D"; this.Options = new Array(); this.Options[1] = this.mcOption1; this.Options[2] = this.mcOption2; this.Options[3] = this.mcOption3; this.HideArrows(); } function objBlock(xName, xTextIndex, xTargetBlock, xTipoAccion, xAnimoInicial, xAnimoFinal, xPosicionInicial, xPosicionFinal) { this.CanSpeed = true; this.StartLock = false; this.EndLock = false; this.ExitTalk = false; this.TaskToLunchAtBegin = ""; this.TaskToLunchAtEnd = ""; this.CancelFlow = false; this.PosicionInicial = xPosicionInicial; this.PosicionFinal = xPosicionFinal; this.AudioID = ""; this.Name = xName; this.InitialDelay = 0; this.InitialState = ""; this.curInitialDelay = 0; this.Message = ""; this.MessageSelected = ""; this.Messages = new Array(); this.nMessages = 1; this.CharTalk = undefined; this.TextIndex = xTextIndex; this.AnimoInicial = xAnimoInicial; this.AnimoFinal = xAnimoFinal; this.TalkDelay = 0; this.AditionalDelay = 5; this.curAditionalDelay = 0; this.curTalkDelay = 0; this.TipoAccion = xTipoAccion; if (xTargetBlock == "LAST_OPTION") { this.TargetBlock = undefined; this.TargetBlockString = xTargetBlock; } else { this.TargetBlock = xTargetBlock; this.TargetBlockString = undefined; } this.nOptions = 0; this.Options = new Array(); this.nOptBlocks = 0; this.curOptBlock = 1; this.Rostros = new Array(); this.FinalRostros = new Array(); this.nRostros = 0; this.nFinalRostros = 0; this.Sonido = ""; this.Volumen = 20; this.DemoraSonido = 0; this.swSonido = false; this.nSoundLoops = 1; this.Animaciones = new Array(); this.nAnimaciones = 0; this.FinalMessage = ""; this.Score = xScore; this.Used = false; } function objOption(xText, xTarget, xIsQuestion) { this.Text = xText; this.Messages = new Array(); this.nMessages = 1; this.Messages[this.nMessages] = xText; this.TargetBlock = xTarget; this.IsQuestion = xIsQuestion; this.Used = false; this.Reproches = new Array(); this.nReproches = 0; this.curReproche = 0; this.Parent = undefined; } function OptionRelease(xindex) { var _local4; var _local2; var _local3; _local2 = (3 * (_root.BlockAdmin.curBlock.curOptBlock - 1)) + xindex; _local3 = _root.BlockAdmin.curBlock.Options[_local2]; _root.BlockAdmin.curBlock.MessageSelected = _local3.Text; if (_local3.IsQuestion) { _local3.Used = true; } _local4 = _root.BlockAdmin.curBlock.Options[_local2].TargetBlock; if (_local4 != "") { _root.BlockAdmin.HideArrows(); _root.BlockAdmin.curBlock.HideOptions(); _root.BlockAdmin.NextBlock(_local4); } else if (!_root.mcPanel._visible) { _root.BlockAdmin.curBlock.Options[_local2].ShowNextReproche(); } } var TraceMessages = false; var BufferTalkFiles = ""; objBlockAdmin.prototype.CancelDialog = function () { var CancelFlow = false; with (this) { BlockName = ""; if (curBlock != undefined) { if (curBlock.CharTalk.CurDialog != undefined) { curBlock.CharTalk.CancelDialog(); } curBlock.curInitialDelay = 0; curBlock.curTalkDelay = 0; curBlock.curAditionalDelay = 0; CancelFlow = curBlock.CancelFlow; } else { CancelFlow = true; } DialogWindow._visible = false; _root.HidePopUp("DIALOG"); _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); if (CancelFlow) { _root.FinishCurrentFlow(); } _root.AddAction("DIALOG_CANCELED"); _root.DialogTask.Finish(); return(0); } }; objBlockAdmin.prototype.HideArrows = function () { this.mcArrowUp._visible = false; this.mcArrowDown._visible = false; this.mcArrowUp2._visible = false; this.mcArrowDown2._visible = false; }; objBlockAdmin.prototype.IndexByName = function (SomeName) { var i; with (this) { i = 1; while (i <= nBlocks) { if (Blocks[i].Name == SomeName) { return(i); } i++; } } }; objBlockAdmin.prototype.FinJuego = function () { var i; with (this) { i = IndexByName("ENTREVISTA"); while (i <= nBlocks) { if ((Blocks[i].Score > 0) && (!Blocks[i].Used)) { return(false); } i++; } return(true); } }; objBlockAdmin.prototype.AddBlock = function (SomeBlock) { with (this) { if (SomeBlock.TalkDelay == 0) { SomeBlock.CalculateTalkDelay(); } nBlocks++; Blocks[nBlocks] = SomeBlock; } }; objBlockAdmin.prototype.Start = function () { with (this) { curBlockIndex = 0; curFirstDelay = 0; mcNext._visible = false; _root.mcNext._visible = true; } }; objBlockAdmin.prototype.NextBlock = function (OptionTarget) { var Block; with (this) { _root.Estado = ""; curBlock.swSonido = false; curBlock.Used = true; if (curBlock.TargetBlock != "FIN_JUEGO") { curBlock.curInitialDelay = 0; curBlock.curTalkDelay = 0; curBlock.curAditionalDelay = 0; prevBlock = curBlockIndex; if ((curBlock.TipoAccion == "B") || (curBlock.TipoAccion == "A")) { if (curBlock.TipoAccion == "B") { _root.HidePopUp("DIALOG"); } var nametarget; if (curBlock.TargetBlock != undefined) { nametarget = curBlock.TargetBlock; } else { nametarget = LastOptionBlock.Name; } curBlockIndex = _root.BlockAdmin.IndexByName(nametarget); BlockName = nametarget; } else { curBlock.HideOptions(); curBlockIndex = _root.BlockAdmin.IndexByName(OptionTarget); BlockName = OptionTarget; if ((Blocks[curBlockIndex].Message == "") || (Blocks[curBlockIndex].Message == undefined)) { Blocks[curBlockIndex].Message = _root.BlockAdmin.curBlock.MessageSelected; Blocks[curBlockIndex].CalculateTalkDelay(); } } } else { trace("Fin de la Entrevista"); } } }; objBlockAdmin.prototype.Perform = function () { var BlockTime; var i; var ani; with (this) { if (BlockName == "") { return(0); } curBlockIndex = this.IndexByName(BlockName); curBlock = Blocks[curBlockIndex]; if (curBlock.StartLock) { _root.SetDialogsLocked(true); } if (curBlock.curInitialDelay == curBlock.InitialDelay) { curBlock.curInitialDelay++; if (curBlock.TipoAccion == "B") { if ((curBlock.curInitialDelay - 1) == curBlock.InitialDelay) { if (curBlock.TaskToLunchAtBegin != "") { _root.DialogTask.LunchTask(curBlock.TaskToLunchAtBegin); } } if (curBlock.TextIndex == "MAIN") { if (_root.DialogTask.ShowPopUpDialog) { _root.ShowPopUp(curBlock.Message, this.MainMovie.mcGraph, "DIALOG", "A"); } } else { if (_root.DialogTask.PlayVoice) { curBlock.CharTalk = _root.GetItemByName(curBlock.TextIndex).CharTalkVar; if (curBlock.CharTalk != undefined) { curBlock.CharTalk.Start(); if (curBlock.AudioID != "") { curBlock.CharTalk.LunchDialogSound(curBlock.AudioID, 0); } else { curBlock.CharTalk.LunchDialogSound(curBlock.Name, 0); } } } if (_root.DialogTask.ShowPopUpDialog) { _root.ShowPopUp(curBlock.Message, _root.GetItemByName(curBlock.TextIndex).mc.mcGraph, "DIALOG"); } } if (curBlock.PosicionInicial != undefined) { _root.curScene.StandCharacter(curBlock.PosicionInicial); } if (curBlock.AnimoInicial != undefined) { this.MainMovie.mcCabeza.gotoAndStop(curBlock.AnimoInicial); } else { this.MainMovie.mcCabeza.gotoAndStop("Normal"); } this.PosicionInicial = xPosicionInicial; this.PosicionFinal = xPosicionFinal; } else if (curBlock.TipoAccion == "A") { } else if (curBlock.TipoAccion == "O") { this.mcNext._visible = false; curBlock.ShowOptions(); } return(0); } if (curBlock.curInitialDelay < curBlock.InitialDelay) { curBlock.curInitialDelay++; return(0); } if (curBlock.TipoAccion == "B") { if (curBlock.curTalkDelay == curBlock.TalkDelay) { if (_root.DialogTask.PlayVoice) { if (curBlock.CharTalk == undefined) { _root.HidePopUp("DIALOG"); } } else { _root.HidePopUp("DIALOG"); } if (curBlock.PosicionFinal != undefined) { _root.curScene.StandCharacter(curBlock.PosicionFinal); } if (curBlock.AnimoFinal != undefined) { this.MainMovie.mcCabeza.gotoAndStop(curBlock.AnimoFinal); } else { this.MainMovie.mcCabeza.gotoAndStop("Normal"); } var siguiente = false; siguiente = curBlock.curAditionalDelay >= curBlock.AditionalDelay; if (_root.DialogTask.PlayVoice) { if (curBlock.CharTalk != undefined) { siguiente = siguiente && (curBlock.CharTalk.CurDialog == undefined); if (siguiente) { _root.HidePopUp("DIALOG"); curBlock.CharTalk.Stop(); } } } if (siguiente) { this.NextBlock(undefined); if (curBlock.EndLock) { _root.SetDialogsLocked(false); } if (curBlock.TaskToLunchAtEnd != "") { _root.DialogTask.LunchTask(curBlock.TaskToLunchAtEnd); } if (curBlock.ExitTalk) { BlockName = ""; DialogWindow._visible = false; _root.DialogTask.Finish(); return(0); } } else { curBlock.curAditionalDelay++; } } else { curBlock.curTalkDelay++; } } else if (curBlock.TipoAccion == "A") { } BlockTime = (curBlock.curTalkDelay + curBlock.curInitialDelay) + curBlock.curAditionalDelay; } }; objBlock.prototype.CalculateTalkDelay = function () { if (this.Message != "") { this.TalkDelay = GetMessageTextDelay(this.Message); } }; objBlock.prototype.AddMsg = function (msg) { this.nMessages++; if ((this.TextIndex == "FAMILY_JIGSAW") && (_root.TraceMessages)) { _root.BufferTalkFiles = (_root.BufferTalkFiles + this.Name) + String.fromCharCode(13); trace(this.Name); trace(msg); trace("--------"); } if ((this.nMessages == _root.LangIndex) || (this.nMessages == 1)) { this.Message = msg; } }; objBlock.prototype.FirstRostros = function () { this.AddRostro(_root.Jaime, "N", "R"); this.AddRostro(_root.Nadine, "S", "L"); this.AddRostro(_root.Ollanta, "S", "L"); }; objBlock.prototype.GanaJaime = function (xRisas) { if (xRisas == undefined) { xRisas = true; } this.AddRostro(_root.Jaime, "F", "R"); this.AddRostro(_root.Ollanta, "A", "L"); this.AddRostro(_root.Nadine, "A", "L"); if (xRisas) { this.SetSonido("risas_id", 30, 10); this.AddAnimacion("JaJa1", 15, true); this.AddAnimacion("JaJa2", 15, true); } this.AddFinalRostro(_root.Ollanta, "M", "L"); this.AddFinalRostro(_root.Nadine, "M", "L"); this.AddFinalRostro(_root.Jaime, "F", "R"); }; objBlock.prototype.GanaHumala = function (xRisas) { if (xRisas == undefined) { xRisas = true; } this.AddRostro(_root.Jaime, "A", "R"); this.AddRostro(_root.Ollanta, "P", "L"); this.AddRostro(_root.Nadine, "P", "L"); if (xRisas) { this.SetSonido("risas_id", 30, 10); } this.AddAnimacion("JaJa1", 15, true); this.AddAnimacion("JaJa2", 15, true); this.AddFinalRostro(_root.Jaime, "S", "R"); this.AddFinalRostro(_root.Ollanta, "P", "L"); this.AddFinalRostro(_root.Nadine, "P", "L"); }; objBlock.prototype.AddAnimacion = function (xMovieClip, xDemora, xOcultar) { var _local2 = new Object(); _local2.MovieName = xMovieClip; _local2.Demora = xDemora; _local2.Played = false; _local2.Ocultar = xOcultar; this.nAnimaciones++; this.Animaciones[this.nAnimaciones] = _local2; }; objBlock.prototype.ResetAnimaciones = function () { var i; i = 1; while (i <= this.nAnimaciones) { with (this.Animaciones[i]) { Played = false; if (Ocultar) { eval ("_root." + MovieName)._visible = false; } } i++; } }; objBlock.prototype.SetSonido = function (xSonido, xVolumen, xDemoraSonido) { this.Sonido = xSonido; this.Volumen = xVolumen; this.DemoraSonido = xDemoraSonido; }; objBlock.prototype.AddRostro = function (xPersona, xAnimo, xOjos, xParpados) { var _local2 = new Object(); _local2.Persona = xPersona; _local2.Animo = xAnimo; _local2.Ojos = xOjos; _local2.Parpados = xParpados; this.nRostros++; this.Rostros[this.nRostros] = _local2; }; objBlock.prototype.AddFinalRostro = function (xPersona, xAnimo, xOjos, xParpados) { var _local2 = new Object(); _local2.Persona = xPersona; _local2.Animo = xAnimo; _local2.Ojos = xOjos; _local2.Parpados = xParpados; this.nFinalRostros++; this.FinalRostros[this.nFinalRostros] = _local2; }; objBlock.prototype.SetRostros = function () { var i; i = 1; while (i <= this.nRostros) { with (this.Rostros[i]) { Persona.Expresion(Animo, Ojos, Parpados); } i++; } }; objBlock.prototype.SetFinalRostros = function () { var i; i = 1; while (i <= this.nFinalRostros) { with (this.FinalRostros[i]) { Persona.Expresion(Animo, Ojos, Parpados); } i++; } }; objBlock.prototype.HideOptions = function () { _root.DialogWindow._visible = false; _root.BlockAdmin.Options[1]._visible = false; _root.BlockAdmin.Options[2]._visible = false; _root.BlockAdmin.Options[3]._visible = false; }; objBlock.prototype.ShowOptions = function () { var i; var c; var ini; var fin; var TextoOpcion; _root.DialogWindow._visible = true; with (this) { ini = 1 + (3 * (curOptBlock - 1)); fin = ini + 2; if (fin > nOptions) { fin = nOptions; } c = 0; _root.BlockAdmin.LastOptionBlock = this; if (nOptBlocks == 1) { _root.BlockAdmin.mcArrowUp._visible = false; _root.BlockAdmin.mcArrowDown._visible = false; } else { if (curOptBlock == 1) { _root.BlockAdmin.mcArrowUp._visible = false; _root.BlockAdmin.mcArrowUp2._visible = true; } else { _root.BlockAdmin.mcArrowUp._visible = true; _root.BlockAdmin.mcArrowUp2._visible = false; } if (curOptBlock < nOptBlocks) { _root.BlockAdmin.mcArrowDown._visible = true; _root.BlockAdmin.mcArrowDown2._visible = false; } else { _root.BlockAdmin.mcArrowDown._visible = false; _root.BlockAdmin.mcArrowDown2._visible = true; } } i = ini; while (i <= fin) { c = c + 1; _root.BlockAdmin.Options[c]._visible = true; TextoOpcion = (i + ". ") + Options[i].Text; if (Options[i].IsQuestion && (Options[i].Used)) { _root.DropTextMouseEvents(_root.BlockAdmin.Options[c]); _root.BlockAdmin.Options[c].gotoAndStop(5); _root.BlockAdmin.Options[c].mcCheck._visible = true; } else { _root.SetTextMouseEvents(_root.BlockAdmin.Options[c], _root.BlockAdmin.OptionFrame1, _root.BlockAdmin.OptionFrame2, c); _root.BlockAdmin.Options[c].gotoAndStop(_root.BlockAdmin.OptionFrame1); _root.BlockAdmin.Options[c].mcCheck._visible = false; } _root.BlockAdmin.Options[c].txtOpcion.text = TextoOpcion; i++; } } }; objBlock.prototype.AddOption = function (xText, xTarget, xIsQuestion) { if (xIsQuestion == undefined) { xIsQuestion = false; } with (this) { nOptions++; Options[nOptions] = new objOption(xText, xTarget, xIsQuestion); Options[nOptions].Parent = this; nOptBlocks = Math.ceil(nOptions / 3); return(Options[nOptions]); } }; objOption.prototype.AddMsg = function (msg) { with (this) { nMessages++; Messages[nMessages] = msg; if (nMessages == _root.LangIndex) { Text = msg; } } }; objBlock.prototype.AddReproche = function (xText) { with (this.Options[this.nOptions]) { nReproches++; Reproches[nReproches] = xText; } }; objOption.prototype.ShowNextReproche = function () { with (this) { if ((curReproche == 0) || (curReproche == nReproches)) { curReproche = 1; } else { curReproche++; } _root.ShowPopUp(Reproches[curReproche], curScene.Personaje.mcGraph, "PANEL"); } }; function trace2(msg) { var _local1; _local1 = false; if (_local1 && (msg != Lastmsg)) { trace(msg); Lastmsg = msg; } } var Lastmsg = ""; function InitBlocks() { BlockAdmin.OptionFrame1 = 3; BlockAdmin.OptionFrame2 = 4; } var BlockAdmin = undefined; var Block = undefined; function PerformDialog() { BlockAdmin.Perform(); } function ManageStates() { return(undefined); } _global.findPath = function (map, startY, startX, endY, endX) { var _local17 = 10; var _local13 = 14; var _local30 = true; var _local28 = true; if (map[endY][endX] == 0) { trace("El punto final no es caminable cae fuera del rango"); return(null); } if (map[endY][endX] == undefined) { trace("El punto final no esta dentro del array del mapa"); return(null); } isOpen = function (y, x) { return(mapStatus[y][x].open); }; isClosed = function (y, x) { return(mapStatus[y][x].closed); }; nearerSquare = function () { var _local4 = 999999 /* 0x0F423F */; var _local5 = 0; var _local2; var _local3; var _local1 = openList.length; while ((_local1--) > 0) { _local3 = mapStatus[openList[_local1][0]][openList[_local1][1]]; _local2 = _local3.heuristic + _local3.movementCost; if (_local2 <= _local4) { _local4 = _local2; _local5 = _local1; } } return(_local5); }; closeSquare = function (y, x) { var _local2 = openList.length; var _local1 = 0; while (_local1 < _local2) { if (openList[_local1][0] == y) { if (openList[_local1][1] == x) { openList.splice(_local1, 1); break; } } _local1++; } mapStatus[y][x].open = false; mapStatus[y][x].closed = true; }; openSquare = function (y, x, parent, movementCost, heuristic, replacing) { if (!replacing) { openList.push([y, x]); mapStatus[y][x] = {heuristic:heuristic, open:true, closed:false}; } mapStatus[y][x].parent = parent; mapStatus[y][x].movementCost = movementCost; }; var _local11 = map.length; var _local16 = map[0].length; var mapStatus = new Array(); var _local12 = 0; while (_local12 < _local11) { mapStatus[_local12] = new Array(); _local12++; } if ((startY == undefined) || (startX == undefined)) { return(null); } if ((endY == undefined) || (endX == undefined)) { return(null); } var openList = new Array(); openSquare(startY, startX, undefined, 0); while ((openList.length > 0) && (!isClosed(endY, endX))) { _local12 = nearerSquare(); var _local7 = openList[_local12][0]; var _local8 = openList[_local12][1]; closeSquare(_local7, _local8); var _local3 = _local7 - 1; while (_local3 < (_local7 + 2)) { var _local2 = _local8 - 1; while (_local2 < (_local8 + 2)) { if (((((_local3 >= 0) && (_local3 < _local11)) && (_local2 >= 0)) && (_local2 < _local16)) && (!((_local3 == _local7) && (_local2 == _local8)))) { if (map[_local3][_local2] != 0) { if (!isClosed(_local3, _local2)) { var _local4 = mapStatus[_local7][_local8].movementCost + ((((_local3 == _local7) || (_local2 == _local8)) ? (_local17) : (_local13)) * map[_local3][_local2]); if (isOpen(_local3, _local2)) { if (_local4 < mapStatus[_local3][_local2].movementCost) { openSquare(_local3, _local2, [_local7, _local8], _local4, undefined, true); } } else { var _local5 = (Math.abs(_local3 - endY) + Math.abs(_local2 - endX)) * 10; openSquare(_local3, _local2, [_local7, _local8], _local4, _local5, false); } } } } _local2++; } _local3++; } } var _local26 = isClosed(endY, endX); delete isOpen; delete isClosed; delete nearerSquare; delete closeSquare; delete openSquare; if (_local26) { var _local21 = new Array(); var _local7 = endY; var _local8 = endX; while ((_local7 != startY) || (_local8 != startX)) { _local21.push([_local7, _local8]); var _local18 = mapStatus[_local7][_local8].parent[0]; var _local19 = mapStatus[_local7][_local8].parent[1]; _local7 = _local18; _local8 = _local19; } _local21.push([startY, startX]); if (_local21.length == 1) { ItemToCatch = undefined; } return(_local21); } trace("Ended with 0 open squares; ran out of squares, path NOT found"); _root.mcGuia._x = _root.ReleaseXMouse; _root.mcGuia._y = _root.ReleaseYMouse; return(null); }; function AddItemEnabled(ItemName) { nItemsEnabled++; ItemsEnabled[nItemsEnabled] = ItemName.toUpperCase(); } function DropItemEnabled(ItemName) { var _local1; _local1 = 1; while (_local1 <= nItemsEnabled) { if (ItemName.toUpperCase() == ItemsEnabled[_local1]) { ItemsEnabled[_local1] = ""; } _local1++; } } function IsItemEnabled(ItemName) { var _local1; var _local2; _local1 = 1; while (_local1 <= nItemsEnabled) { _local2 = ItemsEnabled[_local1].indexOf("%"); if (_local2 == -1) { if (ItemName.toUpperCase() == ItemsEnabled[_local1]) { return(true); } } else { var _local4; var _local3; _local4 = ItemName.toUpperCase().substring(0, _local2); _local3 = ItemsEnabled[_local1].substring(0, _local2); if (_local4 == _local3) { return(true); } } _local1++; } return(false); } var TaskItemRestriction = undefined; var ItemsEnabled = Array(); var nItemsEnabled = 0; function objTask(ID, Tipo, SubTipo, val, ParentFriend, ParentID) { this.ID = ID; this.State = 0; this.ForceSceneSound = false; this.ResetTaskAtEnd = ""; this.PanelPosition = "NONE"; this.ScreenCanBeStop = true; this.mcMenuInv = undefined; this.mcMenuScene = undefined; this.FunctionCall = undefined; this.Permanent = false; this.ShowPopUpDialog = true; this.PlayVoice = true; this.ResetExpresion = true; this.CharTalkVarName = val; this.CharTalkVar = undefined; this.DialogLocked = false; this.Type = Tipo; this.Mode = "NORMAL"; this.StopAllSounds = undefined; this.AdjustPanel = false; this.Family = ""; this.DisableAction = ""; this.EnableAction = ""; this.ReachedAction = ""; this.CurrentMovie = undefined; this.CanStop = undefined; this.Waiting = false; this.CheckCode = 0; this.WaitFlow = false; this.CheckMovieX = ""; this.XValue = 0; this.CheckAction = ""; this.Orientation = "POSITIVE"; this.TargetItemName = ""; this.TargetFriendName = ""; this.TargetTaskName = ""; this.val = val; if (Tipo == "DELAY") { this.FriendToLunch = undefined; this.Segundos = val * 1; this.curFrames = 0; this.TotalFrames = this.Segundos * _root.FramesPerSecond; } else { this.curFrames = 0; this.Segundos = 0; } this.WaitFramesAtEnd = 0; this.curWaitFramesAtEnd = 0; this.FreeMouseAtStart = false; this.FreeMouseAtFinish = false; this.BlockMouseAtStart = false; this.BlockMouseAtFinish = false; this.KeepMouseAtFinish = undefined; this.KeepMouseAtStart = undefined; this.EnableMouseAtStart = false; if (this.Type == "SOUND") { this.Sonido = new Sound(); this.SoundTimes = 1; this.SoundName = ""; this.NoAudioWaitFrames = 0; this.MovieSound = undefined; this.Sonido.Parent = this; this.Sonido.onSoundComplete = function () { if (this.Parent.State != 3) { trace("termina EL SONIDOOOOO : " + this.Parent.SoundName); this.Parent.Finish(); } }; } this.BeforeItemName = undefined; this.SubType = SubTipo; if (this.Type == "VAR_FUNCTION") { this.TaskVar = undefined; this.FlagVar = undefined; } if (this.Type == "PANEL") { this.PanelDuration = SubTipo; } this.Transition = undefined; if (this.Type == "SCENE") { this.Transition = false; } this.ParentFriend = ParentFriend; this.Parents = new Array(); this.ParentNames = new Array(); this.nParents = 0; if (ParentID != "") { if ((ParentID != "START") && (ParentID != "START_INV")) { this.nParents++; this.ParentNames[this.nParents - 1] = ParentID; } if ((ParentID == "START") || (ParentID == "START_INV")) { this.StartTask = true; } else { this.StartTask = false; } } else { this.Mode = "LUNCH"; this.StartTask = false; } this.FinishParents = new Array(); this.FinishParentNames = new Array(); this.nFinishParents = 0; this.ItemName = undefined; this.Position = ""; if (Tipo == "CHAR_DIRECTION") { this.Position = val; } this.SceneName = val; this.MovieName = ""; this.MovieFrame = ""; this.Messages = new Array(); this.nMessages = 0; if (Tipo == "ITEM_PROPERTY") { if (this.SubType == "INFO") { this.nMessages = 1; } } if (Tipo == "PANEL") { this.PanelDelay = 40; this.PanelMsg = val; this.nMessages = 1; this.Messages[1] = this.PanelMsg; this.FreeMouseAtStart = true; this.CanSpeed = true; this.CancelFlow = false; } if (Tipo == "XFILESTEXT") { this.TextoXFiles = val; this.TextoXFilesDelay = 80; this.TextoXFilesCurDelay = 0; this.nMessages = 1; this.Messages[1] = this.TextoXFiles; } this.ActionName = val; this.InventoryAction = val; this.MovieValue = val; this.BlockName = val; this.nConditions = 0; this.Conditions = new Array(); this.FriendName = val; this.Value = undefined; this.MouthTask = ""; this.HandTask = ""; this.EyeTask = ""; this.nMenuItems = 0; this.MenuItems = new Array(); if (Tipo == "ITEM_PROPERTY") { this.ItemProperty = SubTipo; this.ItemPropertyValue = val; } if (Tipo == "TALK") { this.BlockName = val; } this.AnimationType = "STOP"; this.AnimationMode = "ASYNC"; this.RefreshTerrain = false; this.WaitTerrainUntilFinish = false; if (Tipo == "MOVIE_ITEM") { if (((((this.SubType == "GOTOANDSTOP") || (this.SubType == "GOTOANDPLAY")) || (this.SubType == "GOTOANDPLAYMC")) || (this.SubType == "GOTOANDSTOPMC")) || (this.SubType == "VISIBLE")) { this.RefreshTerrain = true; } } if (Tipo == "MOVE") { this.RefreshTerrain = true; this.MoveMode = "DIRECT"; this.MovingClip = undefined; this.DistanceX = 0; this.DistanceY = 0; this.TargetX = undefined; this.TargetY = undefined; this.DeltaX = 0; this.DeltaY = 0; this.TargetMovie = undefined; this.TargetMovieName = undefined; this.CancelXMovement = false; this.CancelYMovement = false; } this.Expresion = undefined; if (Tipo == "EXPRESION") { this.Expresion = val; } if (Tipo == "MOUSE_STATE") { this.MouseState = val; } if (Tipo == "SORTRULE_STATE") { this.SortRuleState = val; this.SortRuleName = ""; } this.CheckMovieHit1 = ""; this.CheckMovieHit2 = ""; this.CheckMovieDirection = ""; this.CheckDirection = ""; this.CheckMovieFrame = ""; this.CheckMinFrame = 0; this.CheckMaxFrame = 0; this.FamilyName = ""; this.curCharXFiles; this.TextoXFiles; this.CharXFileDelay = 35; this.CharXFileCurDelay = 0; this.HideScene = true; this.HideSlots = true; this.TimerState = "S"; this.TimerCounter = 0; this.TimerMaxSeconds = 0; this.TimerFrameCounter = 0; this.mcTimer = undefined; this.PauseAction = ""; this.HasChildren = false; this.StartSound = true; } function objCondition(Condition, TaskName) { this.Condition = Condition; this.TaskName = TaskName; this.ItemName = ""; this.MovieName1 = undefined; this.MovieName2 = undefined; } var SALTO = String.fromCharCode(13); var PCHasAudio = false; var SoundAudioDetect = new Sound(); SoundAudioDetect.attachSound("detect_audio"); SoundAudioDetect.start(0, 1); SoundAudioDetect.onSoundComplete = function () { _root.PCHasAudio = true; }; _root.ShowTaskLog = true; objTask.prototype.AddMsg = function (msg) { this.nMessages++; this.Messages[this.nMessages] = msg; if ((this.nMessages == _root.LangIndex) || (this.nMessages == 1)) { if (this.Type == "PANEL") { this.PanelMsg = msg; } if (this.Type == "XFILESTEXT") { this.TextoXFiles = msg; } if (this.Type == "ITEM_PROPERTY") { if (this.ItemProperty == "INFO") { this.ItemPropertyValue = msg; } } } }; objTask.prototype.AddMenuItem = function (caption, taskname) { var _local2 = new objMenuItem(caption, taskname); this.nMenuItems++; this.MenuItems[this.nMenuItems] = _local2; return(this.MenuItems[this.nMenuItems]); }; objTask.prototype.AddCondition = function (Condition, TaskName) { var _local2 = new objCondition(Condition, TaskName); this.nConditions++; this.Conditions[this.nConditions - 1] = _local2; return(_local2); }; objTask.prototype.AddParentName = function (ParentID) { this.nParents++; this.ParentNames[this.nParents - 1] = ParentID; }; objTask.prototype.AddFinishParentName = function (ParentID) { this.nFinishParents++; this.FinishParentNames[this.nFinishParents - 1] = ParentID; }; objTask.prototype.InitFinishParents = function () { var _local2; _local2 = 0; while (_local2 <= (this.nFinishParents - 1)) { if (this.FinishParentNames[_local2] != "") { this.FinishParents[_local2] = this.ParentFriend.GetTaskByID(this.FinishParentNames[_local2]); } else { this.FinishParents[_local2] = undefined; } _local2++; } }; objTask.prototype.InitParents = function () { var _local2; _local2 = 0; while (_local2 <= (this.nParents - 1)) { if (this.ParentNames[_local2] != "") { this.Parents[_local2] = this.ParentFriend.GetTaskByID(this.ParentNames[_local2]); } else { this.Parents[_local2] = undefined; } _local2++; } }; objTask.prototype.Perform = function () { with (this) { if ((this.Type != "CHECK_EVENT") && (_root.ShowTaskLog)) { trace((("------------------------------------Empieza la tarea: " + ID) + " de tipo ") + Type); _root.txtLog = ((((_root.txtLog + "Empieza la tarea: ") + ID) + " de tipo ") + Type) + String.fromCharCode(13); } if (State == 3) { State = 0; } switch (Type) { case "WALK" : PerformWalk(); break; case "TALK" : if (_root.PanelTask != undefined) { _root.PanelTask.Finish(); } PerformTalk(); break; case "SCREEN" : PerformScreen(); break; case "PANEL" : PerformPanel(); break; case "MOVE" : PerformMove(); break; case "INV" : PerformInventory(); break; case "ACTION" : PerformAction(); break; case "MOVIE" : PerformMovie(); break; case "MOVIE_ITEM" : PerformMovieItem(); break; case "MODIFY_SELF_FRIEND" : PerformModifySelfFriend(); break; case "DUMMY" : PerformDummy(); break; case "SCENE" : PerformScene(); break; case "MENUSCENE" : PerformMenuScene(); break; case "MENUINV" : PerformMenuInv(); break; case "ITEM_PROPERTY" : PerformItemProperty(); break; case "SOUND" : if (_root.PCHasAudio) { PerformSound(); } else { if (NoAudioWaitFrames > 0) { WaitFramesAtEnd = NoAudioWaitFrames; } this.Finish(); } break; case "DELAY" : PerformDelay(); break; case "CONDITIONAL" : PerformConditional(); break; case "EXPRESION" : PerformExpression(); break; case "MOUSE_STATE" : PerformMouseState(); break; case "CHAR_DIRECTION" : PerformCharDirection(); break; case "CHANGE_SCENE" : PerformChangeScene(); break; case "JUMP_FRIEND" : PerformJumpFriend(); break; case "CHECK_EVENT" : PerformCheckEvent(); break; case "INV_DRAG" : PerformInvDrag(); break; case "WATCH" : PerformWatch(); break; case "VAR_FUNCTION" : PerformVarFunction(); break; case "RESUME_SCENE_SOUND" : PerformResumeSceneSound(); break; case "CHANGESTART_SCENE_SOUND" : PerformChangeStartSceneSound(); break; case "CHANGE_SCENE_SOUND" : PerformChangeSceneSound(); break; case "SORTRULE_STATE" : PerformSortRuleState(); break; case "CHARTALK" : PerformCharTalk(); break; case "FUNCTION" : PerformFunction(); break; case "CHECKTASK_ENABLE" : PerformEnableCheckEvent(); break; case "ALIGN" : PerformAlign(); break; case "XFILESTEXT" : PerformXFilesText(); break; case "FREEZE" : PerformFreeze(); break; case "ITEM_RESTRICTION" : PerformItemRestriction(); } if (State == 0) { State = 1; } if (this.ParentFriend.AutoDisableMouse) { if (this.EnableMouseAtStart) { trace("Se habilita el mouse al iniciar"); _root.MouseDisabled = false; _root.MenuSceneBlocked = false; _root.WalkBlocked = false; } } if (this.KeepMouseAtStart == undefined) { if (this.FreeMouseAtStart) { _root.FreeMouse(); } if (this.BlockMouseAtStart) { _root.BlockMouse(); } } } }; objTask.prototype.PerformSortRuleState = function () { var _local3; var _local4; _local3 = _root.GetSceneByName(this.SceneName); if (this.SortRuleState == "ENABLED") { _local4 = _local3.GetSortRuleByName(this.SortRuleName); _local4.Enabled = true; _local4.Process(); } else if (this.SortRuleState == "DISABLED") { _local3.GetSortRuleByName(this.SortRuleName).Enabled = false; } this.Finish(); }; objTask.prototype.PerformResumeSceneSound = function () { _root.curScene.StartAmbientalSound(undefined, undefined, true); this.Finish(); }; objTask.prototype.PerformChangeStartSceneSound = function () { _root.curScene.StartAmbientalSound(this.SoundName, this.Permanent, this.ForceSceneSound); this.Finish(); }; objTask.prototype.PerformChangeSceneSound = function () { var _local3; _local3 = _root.GetSceneByName(this.SubType); _local3.ChangeAmbientalSound(this.SoundName); this.Finish(); }; objTask.prototype.PerformVarFunction = function () { Set(this.TaskVar, this); Set(this.FlagVar, true); }; objTask.prototype.PerformWatch = function () { var rect; var rect2; var x; var y; var item; var mc; var mcItem; var mcPersonaje; var Sentido; var XZoneLeft; var XZoneCenter; var XZoneRight; var YZoneUp; var YZoneCenter; var YZoneDown; if (this.SubType == "ITEM") { item = _root.GetItemByName(this.ItemName); mc = item.mc; if (mc.mcBase != undefined) { mcItem = mc.mcBase; } else { mcItem = mc.mcGraph; } } else if (this.SubType == "MOVIE") { mcItem = eval (this.MovieName); } mcPersonaje = _root.curScene.Personaje; rect = mcItem.getRect(_root); rect2 = mcPersonaje.mcBase.getRect(_root); x = (rect2.xMin + rect2.xMax) / 2; y = rect2.yMax - ((rect2.yMax - rect2.yMin) / 10); XZoneLeft = x < rect.xMin; XZoneCenter = (x >= rect.xMin) && (x <= rect.xMax); XZoneRight = x > rect.xMax; YZoneUp = y < rect.yMin; YZoneCenter = (y >= rect.yMin) && (y <= rect.yMax); YZoneDown = y > rect.yMax; if (XZoneCenter && (YZoneCenter)) { Sentido = "BACK"; } if (XZoneLeft && (YZoneCenter)) { Sentido = "RIGHT"; } if (XZoneRight && (YZoneCenter)) { Sentido = "LEFT"; } if (YZoneUp && (XZoneCenter)) { Sentido = "FRONT"; } if (YZoneDown && (XZoneCenter)) { Sentido = "BACK"; } if (YZoneUp && (XZoneLeft)) { DeltaX = Math.abs(x - rect.xMin); DeltaY = Math.abs(y - rect.yMin); if (DeltaX > DeltaY) { Sentido = "RIGHT"; } else { Sentido = "FRONT"; } } if (YZoneUp && (XZoneRight)) { DeltaX = Math.abs(x - rect.xMax); DeltaY = Math.abs(y - rect.yMin); if (DeltaX > DeltaY) { Sentido = "LEFT"; } else { Sentido = "FRONT"; } } if (YZoneDown && (XZoneLeft)) { DeltaX = Math.abs(x - rect.xMin); DeltaY = Math.abs(y - rect.yMax); if (DeltaX > DeltaY) { Sentido = "RIGHT"; } else { Sentido = "BACK"; } } if (YZoneDown && (XZoneRight)) { DeltaX = Math.abs(x - rect.xMax); DeltaY = Math.abs(y - rect.yMax); if (DeltaX > DeltaY) { Sentido = "LEFT"; } else { Sentido = "BACK"; } } _root.curScene.StandCharacter(Sentido); this.ApplyExpresion(); this.Finish(); }; objTask.prototype.PerformItemProperty = function () { var IterItem; with (this) { if ((ItemName != undefined) && (ItemName != "")) { IterItem = GetItemByName(ItemName); } else { IterItem = this.ParentFriend.Item; } if (ItemProperty == "INFO") { IterItem.Info = ItemPropertyValue; IterItem.GetFriendByName(curScene.MouseItem.ID).RollMsg = ItemPropertyValue; Finish(); } if (ItemProperty == "GRAPH_FRAME") { IterItem.curGraphFrame = ItemPropertyValue; CurrentMovie = IterItem.mc; CurrentMovie.ParentItem = IterItem; if (AnimationType == "STOP") { if (IterItem.CurBox != undefined) { _root.Inventario.AttachedMovies[IterItem.CurBox.Parent.BoxIndex].mcGraph.gotoAndStop(IterItem.curGraphFrame); _root.Inventario.AttachedMovies2[IterItem.CurBox.Parent.BoxIndex].mcGraph.gotoAndStop(IterItem.curGraphFrame); } else { IterItem.mc.mcGraph.gotoAndStop(IterItem.curGraphFrame); } } else if (IterItem.CurBox != undefined) { _root.Inventario.AttachedMovies[IterItem.CurBox.Parent.BoxIndex].mcGraph.gotoAndPlay(IterItem.curGraphFrame); _root.Inventario.AttachedMovies2[IterItem.CurBox.Parent.BoxIndex].mcGraph.gotoAndPlay(IterItem.curGraphFrame); } else { IterItem.mc.mcGraph.gotoAndPlay(IterItem.curGraphFrame); } if (AnimationMode == "SYNC") { IterItem.mc.mcGraph.Task = this; } else { Finish(); } } } }; objTask.prototype.PerformSound = function () { with (this) { if (StopAllSounds) { trace("Entra a stopallsoudns"); stopAllSounds(); } if (SubType == "ASINCRONO") { _root.SoundTask = this; Sonido.attachSound(SoundName); Sonido.start(0, SoundTimes); Finish(); } else if (SubType == "STOP") { var s = new Sound(); s.stop(SoundName); Finish(); } else if (SubType == "SINCRONO") { trace(((("Lanzamos el sonido sincrono=" + SoundName) + " ") + SoundTimes) + " veces"); _root.SoundTask = this; Sonido.attachSound(SoundName); Sonido.start(0, SoundTimes); trace(((("Se lanzo el sonigo=" + SoundName) + " ") + SoundTimes) + " veces"); } else { MovieSound.Task = this; this.MovieSound.gotoAndPlay(2); } } }; objTask.prototype.PerformEnableCheckEvent = function () { var _local5; var _local4; var _local3; trace("----------------INICIA PerformEnableCheckEvent"); _local5 = _root.GetItemByName(this.ItemName); _local4 = _local5.GetFriendByName(this.FriendToLunch); if (_local4.EventTask != undefined) { _local3 = _local4.EventTask; } else { trace(("EL FRIEND :" + _local4.Name) + " no tiene tareas de evento"); } _root.DropAction(_local3.DisableAction); _root.DropAction(_local3.ReachedAction); _root.AddAction(_local3.EnableAction); if (_local3.SubType == "TIMER") { trace("---------------------------Entra a ResetTimer"); _local3.ResetTimer(); } this.Finish(); trace("----------------TERMINA PerformEnableCheckEvent"); }; objTask.prototype.PerformDelay = function () { var _local4; var _local3; _local4 = _root.GetItemByName(this.ItemName); trace("*** INICIO PERFORM DELAY ***" + this.ID); trace("this.ID=" + this.ID); trace("this.ItemName=" + this.ItemName); trace("ItemDelay.Info=" + _local4.Info); trace("this.FriendToLunch=" + this.FriendToLunch); _local3 = _local4.GetFriendByName(this.FriendToLunch); trace("FriendDelay.Name=" + _local3.Name); _root.FriendToLunch = _local3; _root.curFramesDelay = 0; _root.TotalFramesDelay = this.TotalFrames; this.Finish(); }; objTask.prototype.PerformTalk = function () { var swLunch = false; if (mcPopUp._visible) { HidePopUp("PANEL"); } with (this) { _root.DropAction("DIALOG_CANCELED"); _root.SetDialogsLocked(this.DialogLocked); _root.DialogTask = this; ApplyExpresion(); if (SubType == "DIALOG") { Mouse.show(); _root.BlockAdmin.MainMovie = _root.curScene.Personaje; _root.BlockAdmin.BlockName = BlockName; } } }; objTask.prototype.PerformWalk = function () { with (this) { if (SubType == "MOUSE") { if (!_root.curScene.PointIsWalkable(_root.ReleaseXMouse, _root.ReleaseYMouse)) { _root.swWalking = false; _root.FinishCurrentFlow(); Finish(); _root.WalkTask = undefined; _root.curWalking = -1; _root.curScene.Personaje.LastWalkMode = _root.curWalkMode.toUpperCase(); return(0); } _root.WalkTask = this; p.x = _root.ReleaseXMouse; p.y = _root.ReleaseYMouse; _root.curScene.Movie.globalToLocal(p); _root.ProcessTerrainClick(p.x, p.y); } else if (((SubType == "TARGET") or (SubType == "ITEM")) or (SubType == "MOVIE")) { _root.WalkTask = this; var Target; var xTarget; var yTarget; var BoundsTarget; if (SubType == "TARGET") { Target = ParentFriend.TargetItem.mc.mcTarget; } else if (SubType == "ITEM") { Target = _root.GetItemByName(ItemName).mc.mcTarget; } else if (SubType == "MOVIE") { Target = _root.curScene.GetMovie(MovieName); } BoundsTarget = Target.getRect(_root.curScene.Movie); xTarget = BoundsTarget.xMin + Math.round((BoundsTarget.xMax - BoundsTarget.xMin) / 2); yTarget = BoundsTarget.yMin + Math.round((BoundsTarget.yMax - BoundsTarget.yMin) / 2); p.x = xTarget; p.y = yTarget; _root.curScene.Movie.localToGlobal(p); if (!_root.curScene.PointIsWalkable(p.x, p.y)) { _root.swWalking = false; _root.FinishCurrentFlow(); Finish(); _root.WalkTask = undefined; _root.curWalking = -1; _root.curScene.Personaje.LastWalkMode = _root.curWalkMode.toUpperCase(); return(0); } _root.ProcessTerrainClick(xTarget, yTarget); } _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); _root.curScene.Personaje.Expresion = "Normal"; } }; objTask.prototype.PerformMenuScene = function () { Mouse.show(); _root.MenuSceneTask = this; _root.HidePopUp("PANEL"); _root.curScene.Personaje.Expresion = "Normal"; _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); _root.ShowMenuScene(this.ParentFriend.TargetItem, this); return(0); }; objTask.prototype.PerformMenuInv = function () { Mouse.show(); _root.MenuInvTask = this; _root.HidePopUp("PANEL"); _root.curScene.Personaje.Expresion = "Normal"; _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); _root.ShowMenuInv(this.ParentFriend, this); return(0); }; objTask.prototype.PerformScreen = function () { Mouse.show(); HidePopUp("PANEL"); _root.ScreenTask = this; _root.ShowScreen(this.MovieName, this.MovieFrame, this); if (this.HideScene) { _root.curScene.Sube(); } if (this.HideSlots) { _root.Inventario.SlotsVisible(false); } return(0); }; objTask.prototype.PerformPanel = function () { this.ApplyExpresion(); if (this.Position != "") { curScene.StandCharacter(this.Position); } _root.ShowPanel(this, ""); return(0); }; objTask.prototype.ProcessMove = function () { trace("Entra a ProcessMove "); var _local3 = false; var _local2 = false; if (this.DeltaX < 0) { if ((this.MovingClip._x + this.DeltaX) <= this.TargetX) { this.MovingClip._x = this.TargetX; _local3 = true; } else { this.MovingClip._x = this.MovingClip._x + this.DeltaX; } } else if ((this.MovingClip._x + this.DeltaX) >= this.TargetX) { this.MovingClip._x = this.TargetX; _local3 = true; } else { this.MovingClip._x = this.MovingClip._x + this.DeltaX; } if (this.DeltaY < 0) { if ((this.MovingClip._y + this.DeltaY) <= this.TargetY) { this.MovingClip._y = this.TargetY; _local2 = true; } else { this.MovingClip._y = this.MovingClip._y + this.DeltaY; } } else if ((this.MovingClip._y + this.DeltaY) >= this.TargetY) { this.MovingClip._y = this.TargetY; _local2 = true; } else { this.MovingClip._y = this.MovingClip._y + this.DeltaY; } if (_local2 && (_local3)) { this.Finish(); } }; objTask.prototype.ProcessXFilesText = function () { var letra; var mcXFiles = _root.mcXFiles; with (this) { if (curCharXFiles <= (TextoXFiles.length - 1)) { if (CharXFileCurDelay >= CharXFileDelay) { letra = TextoXFiles.substring(curCharXFiles, curCharXFiles + 1); mcXFiles.txtTexto1 = mcXFiles.txtTexto1 + TextoXFiles.substring(curCharXFiles, curCharXFiles + 1); mcXFiles.txtTexto2 = mcXFiles.txtTexto1; mcXFiles.txtTexto3 = mcXFiles.txtTexto1; curCharXFiles++; } else { CharXFileCurDelay++; } } else if (TextoXFilesCurDelay >= TextoXFilesDelay) { if (_root.mcXFiles._alpha <= 0) { _root.mcXFiles._alpha = 0; this.Finish(); } else { _root.mcXFiles._alpha = _root.mcXFiles._alpha - 2; } } else { TextoXFilesCurDelay++; } } }; objTask.prototype.Process = function () { with (this) { switch (Type) { case "MOVE" : ProcessMove(); return; case "XFILESTEXT" : ProcessXFilesText(); } } }; objTask.prototype.PerformFreeze = function () { var _local3; _local3 = _root.GetItemByName(_root.curScene.CurCharacter, false); if (this.SubType == "BLOCK") { _local3.Frozen = true; } else if (this.SubType == "FREE") { _local3.Frozen = false; } this.Finish(); }; objTask.prototype.PerformItemRestriction = function () { with (this) { if (SubType == "START") { trace("Se inici\u00F3 la restricci\u00F3n de Items"); _root.TaskItemRestriction = this; } if (SubType == "END") { trace("Termin\u00F3 la restricci\u00F3n de Items"); _root.InItemRestriction = false; _root.TaskItemRestriction = undefined; } if (SubType == "ADD") { _root.AddItemEnabled(val); } if (SubType == "DROP") { _root.DropItemEnabled(val); } Finish(); } }; objTask.prototype.PerformXFilesText = function () { _root.mcXFiles._alpha = 100; _root.mcXFiles._visible = true; _root.mcXFiles.txtTexto1 = ""; _root.mcXFiles.txtTexto2 = ""; _root.mcXFiles.txtTexto3 = ""; this.TextoXFilesCurDelay = 0; this.curCharXFiles = -1; this.CharXFileCurDelay = 0; this.State = 10; return(0); }; objTask.prototype.PerformMove = function () { var item; var mc; if (this.SubType == "ITEM") { item = _root.GetItemByName(this.ItemName); if (item.AlwaysWalkable || (_root.curScene.CurCharacter == this.ItemName)) { this.RefreshTerrain = false; } if (this.RefreshTerrain) { _root.SetTerrainItemBase(item.Scene, item, false); if (_root.ModoPrueba) { _root.ShowMap(); } } if (this.MoveMode == "DIRECT") { if (this.TargetMovieName != undefined) { this.TargetMovie = eval (this.TargetMovieName); if (!this.CancelXMovement) { item.mc._x = this.TargetMovie._x; } if (!this.CancelYMovement) { item.mc._y = this.TargetMovie._y; } } else { item.mc._x = item.mc._x + this.DistanceX; item.mc._y = item.mc._y + this.DistanceY; } this.Finish(); return(0); } if (this.MoveMode == "TWEEN") { this.MovingClip = item.mc; trace("this.DeltaX=" + this.DeltaX); trace("this.DeltaY=" + this.DeltaY); item.mc._x = item.mc._x + this.DeltaX; item.mc._y = item.mc._y + this.DeltaY; if (this.TargetMovieName != undefined) { this.TargetMovie = eval (this.TargetMovieName); this.TargetX = this.TargetMovie._x; this.TargetY = this.TargetMovie._y; trace("Entra"); } else { this.TargetX = item.mc._x + this.DistanceX; this.TargetY = item.mc._y + this.DistanceY; } if (this.TargetX > this.MovingClip._x) { this.DeltaX = Math.abs(this.DeltaX); } else { this.DeltaX = -Math.abs(this.DeltaX); } if (this.TargetY > this.MovingClip._y) { this.DeltaY = Math.abs(this.DeltaY); } else { this.DeltaY = -Math.abs(this.DeltaY); } this.State = 10; return(0); } } else if (this.SubType == "CHARACTER") { if (this.ItemName != undefined) { item = _root.GetItemByName(this.ItemName); mc = item.mc; } else if (this.MovieName != undefined) { mc = eval (this.MovieName); } _root.curScene.Personaje._x = mc._x; _root.curScene.Personaje._y = mc._y; this.Finish(); return(0); } }; objTask.prototype.PerformInventory = function () { var item; with (this) { if (SubType == "TARGET") { item = ParentFriend.TargetItem; } else if (SubType == "ITEM") { item = _root.GetItemByName(ItemName); } else if (SubType == "DRAG") { item = ParentFriend.DragItem; } if (this.InventoryAction == "ADD") { if (!item.InInventory) { item.curGraphFrame = item.mc.mcGraph._currentframe; } _root.Inventario.AddItem(item); if (item.FamilyName != "") { var iterFamily; iterFamily = _root.GetFamilyByName(item.FamilyName); iterFamily.nItemsGame++; } } else if (this.InventoryAction == "DROP") { _root.Inventario.DropItem(item); if (item.FamilyName != "") { var iterFamily; iterFamily = _root.GetFamilyByName(item.FamilyName); iterFamily.nItemsGame--; } } else if (this.InventoryAction == "INSERT") { item.curGraphFrame = item.mc.mcGraph._currentframe; _root.Inventario.InsertItem(item, this.BeforeItemName); } else if (this.SubType == "SLOTS_VISIBLE") { _root.Inventario.SlotsVisible(val); } Finish(); } }; objTask.prototype.PerformDummy = function () { this.Finish(); }; objTask.prototype.PerformAction = function () { with (this) { if (SubType == "ADD") { _root.AddAction(ActionName); } else if (SubType == "DROP") { _root.DropAction(ActionName); } Finish(); } }; objTask.prototype.PerformFunction = function () { if (this.SubType == "SHOWSKIP") { _root.ShowSkipButton(); } if (this.SubType == "HIDESKIP") { _root.HideSkipButton(); } if (this.SubType == "STOPALLSOUNDS") { _root.stopAllSounds(); trace("entra a stopallsounds"); } if (this.SubType == "CUSTOM") { trace("this.FunctionCall=" + this.FunctionCall); this.FunctionCall(); } this.Finish(); }; objTask.prototype.PerformCharTalk = function () { with (this) { if (SubType == "LUNCH") { CharTalkVar = eval (CharTalkVarName); trace("CharTalkVar.ID=" + CharTalkVar.ID); CharTalkVar.Start(); CharTalkVar.Task = this; CharTalkVar.LunchDialogSound(SoundName, 0); } } }; objTask.prototype.PerformMovie = function () { var mc; with (this) { mc = eval (MovieName); if (SubType == "ORIENTATION") { if (Orientation == "POSITIVE") { mc._xscale = Math.abs(mc._xscale); } else { mc._xscale = -Math.abs(mc._xscale); } } if (SubType == "VISIBLE") { mc._visible = MovieValue; } if (SubType == "ALPHA") { mc._alpha = MovieValue; } if (SubType == "HIDE_AUXILIAR") { mc.mcFront._visible = false; mc.mcBase._visible = false; mc.mcDrag._visible = false; mc.mcTarget._visible = false; } if (SubType == "GOTOANDSTOP") { mc.gotoAndStop(MovieFrame); } if (SubType == "STOP") { mc.stop(); } if (SubType == "GOTOANDPLAY") { mc.gotoAndPlay(MovieFrame); } if (AnimationMode == undefined) { AnimationMode = "ASYNC"; } if (AnimationMode == "SYNC") { mc.Task = this; } else if (AnimationMode == "ASYNC") { Finish(); } } }; objTask.prototype.PerformMovieItem = function () { var _local5; var _local3; var _local4; if (this.ItemName == "CURRENT_CHARACTER") { _local5 = _root.GetItemByName(_root.curScene.CurCharacter, false); } else { _local5 = _root.GetItemByName(this.ItemName, false); } _local3 = _local5.mc; _local4 = _local3.mcGraph; this.CurrentMovie = _local3; this.CurrentMovie.ParentItem = _local5; if (_local5.AlwaysWalkable || (_root.curScene.CurCharacter == this.ItemName)) { this.RefreshTerrain = false; } if (this.RefreshTerrain) { _root.SetTerrainItemBase(_local5.Scene, _local5, false); if (_root.ModoPrueba) { _root.ShowMap(); } } if (this.SubType == "SINCRO") { var _local7; if (_local3.mcSincro == undefined) { this.Finish(); return(0); } _local7 = _local3.mcSincro; var _local6 = new Object(); _local6.x = 0; _local6.y = 0; _local7.localToGlobal(_local6); _local3._parent.globalToLocal(_local6); _local3._x = _local6.x; _local3._y = _local6.y; } if (this.SubType == "ORIENTATION") { if (this.Orientation == "POSITIVE") { _local3._xscale = Math.abs(_local3._xscale); } else { _local3._xscale = -Math.abs(_local3._xscale); } } if (this.SubType == "ALPHA") { _local3._alpha = this.val; } if (this.SubType == "GOTOANDSTOP") { var _local8 = 0; _local4.gotoAndStop(this.MovieFrame); } else if (this.SubType == "GOTOANDPLAY") { _local4.gotoAndPlay(this.MovieFrame); } else if (this.SubType == "GOTOANDPLAYMC") { _local4 = _local3; _local3.gotoAndPlay(this.MovieFrame); } else if (this.SubType == "GOTOANDSTOPMC") { _local4 = _local3; _local3.gotoAndStop(this.MovieFrame); } else if (this.SubType == "STOP") { _local4.stop(); } else if (this.SubType == "PLAY") { _local4.play(); } else if (this.SubType == "VISIBLE") { _local4 = _local3; if (_local4._visible != this.val) { _local4._visible = this.val; if (_local3.mcBase != undefined) { if (this.val && this.RefreshTerrain) { _root.SetTerrainItemBase(_local5.Scene, _local5, true); } else { _root.SetTerrainItemBase(_local5.Scene, _local5, false); } if (_root.ModoPrueba) { _root.ShowMap(); } } } } if (this.AnimationMode == undefined) { this.AnimationMode = "ASYNC"; } if (this.AnimationMode == "SYNC") { _local4.Task = this; if ((this.SubType == "GOTOANDPLAY") || (this.SubType == "GOTOANDPLAYMC")) { this.WaitTerrainUntilFinish = true; } } else if (this.AnimationMode == "ASYNC") { this.Finish(); } return(0); }; objTask.prototype.PerformModifySelfFriend = function () { var _local3; _local3 = this.ParentFriend.TargetItem.GetFriendByName(this.FriendName); if (this.SubType == "ROLLMSG") { _local3.RollMsg = this.Value; _root.RefreshItemCaption(); } this.Finish(); }; objTask.prototype.PerformConditional = function () { var Condition; var curPack; var curType; var curAction; var i; var pos1; var pos2; var pos3; var swLunch; var ultimo; with (this) { i = 0; while (i <= (nConditions - 1)) { swLunch = true; Condition = Conditions[i].Condition; pos1 = 0; pos2 = 0; pos2 = Condition.indexOf(";", pos1); if (Condition == "ELSE") { LunchTask(Conditions[i].TaskName); this.Finish(); return; } ultimo = false; if (pos2 == -1) { ultimo = true; } while ((pos2 > 0) || (ultimo)) { if (!ultimo) { curPack = substring(Condition, pos1 + 1, pos2 - pos1); } else { curPack = substring(Condition, pos1 + 1, Condition.length); } pos3 = curPack.indexOf("@"); curType = substring(curPack, 1, pos3); curAction = (substring(curPack, pos3 + 2, (curPack.length - pos3) + 1)).toUpperCase(); if (curType == "HAVE") { if (!_root.HaveAction(curAction)) { swLunch = false; break; } } else if (curType == "DONTHAVE") { if (_root.HaveAction(curAction)) { swLunch = false; break; } } else if (curType == "NOT_IN_SCENE") { if (_root.curScene.Name == curAction) { swLunch = false; break; } } else if (curType == "IN_SCENE") { if (_root.curScene.Name != curAction) { swLunch = false; break; } } else if (curType == "MATCHXY") { var mc1; var mc2; var DeltaX; var DeltaY; mc1 = eval (Conditions[i].MovieName1); mc2 = eval (Conditions[i].MovieName2); DeltaX = Math.abs(mc1._x - mc2._x); DeltaY = Math.abs(mc1._y - mc2._y); if ((DeltaX > 20) || (DeltaY > 20)) { swLunch = false; break; } } else if (curType == "HIT_CHAR") { var mc1; var mc2; var DeltaX; var DeltaY; mc1 = eval (Conditions[i].MovieName1); mc2 = _root.curScene.Personaje; p.x = 0; p.y = 0; mc2.localToGlobal(p); if (!mc1.hitTest(p.x, p.y, true)) { swLunch = false; break; } } if (!ultimo) { pos1 = pos2 + 1; pos2 = Condition.indexOf(";", pos1); if (pos2 == -1) { ultimo = true; } } else { ultimo = false; } } if (swLunch) { LunchTask(Conditions[i].TaskName); this.Finish(); return; } i++; } } }; objTask.prototype.PerformScene = function () { var BoundsTarget; var IterItem; var Target; var x; var y; if (_root.curScene.Name == this.SceneName) { this.Finish(); return(0); } _root.HidePopUp("ROLLOUT_ITEM"); _root.PrevScene = _root.curScene; _root.PrevScene.Movie._alpha = 100; _root.NewScene = _root.GetSceneByName(this.SceneName); _root.NewScene.Movie._alpha = 0; _root.NewScene.Personaje._alpha = _root.curScene.Personaje._alpha; _root.NewScene.Movie._visible = true; _root.curScene = _root.NewScene; _root.curScene.Baja(); if ((this.ItemName != "") && (this.ItemName != undefined)) { IterItem = _root.GetItemByName(this.ItemName); Target = IterItem.mc.mcTarget; } else if ((this.MovieName != "") && (this.MovieName != undefined)) { Target = eval (this.MovieName); } if (Target == undefined) { } else { BoundsTarget = Target.getRect(NewScene.Movie); x = BoundsTarget.xMin + Math.round((BoundsTarget.xMax - BoundsTarget.xMin) / 2); y = BoundsTarget.yMin + Math.round((BoundsTarget.yMax - BoundsTarget.yMin) / 2); _root.NewScene.Personaje._x = x; _root.NewScene.Personaje._y = y; } if (this.Position != "") { _root.NewScene.StandCharacter(this.Position); } if (this.MovieFrame != "") { _root.NewScene.Personaje.gotoAndStop(this.MovieFrame); } if ((this.Expresion != "") && (this.Expresion != undefined)) { _root.NewScene.Personaje.Expresion = this.Expresion; _root.NewScene.Personaje.mcCabeza.gotoAndStop(this.Expresion); } else if ((_root.curScene.Personaje.Expresion != "") && (_root.curScene.Personaje.Expresion != undefined)) { _root.NewScene.Personaje.Expresion = _root.curScene.Personaje.Expresion; _root.NewScene.Personaje.mcCabeza.gotoAndStop(_root.NewScene.Personaje.Expresion); } else { _root.NewScene.Personaje.Expresion = "Normal"; _root.NewScene.Personaje.mcCabeza.gotoAndStop("Normal"); } _root.curScene.Start(this.StartSound); _root.CheckVisibility(); }; objTask.prototype.PerformMouseState = function () { if (this.SubType == "WALK") { if (this.MouseState == "ENABLED") { _root.WalkBlocked = false; } else if (this.MouseState == "DISABLED") { _root.WalkBlocked = true; } } if (this.SubType == "MENUSCENE") { if (this.MouseState == "ENABLED") { _root.MenuSceneBlocked = false; } else if (this.MouseState == "DISABLED") { _root.MenuSceneBlocked = true; } } if (this.SubType == "TOTAL") { if (this.MouseState == "ENABLED") { _root.MouseDisabled = false; _root.MenuSceneBlocked = false; _root.WalkBlocked = false; } else if (this.MouseState == "DISABLED") { _root.MouseDisabled = true; _root.MenuSceneBlocked = true; _root.WalkBlocked = true; } } this.Finish(); }; objTask.prototype.ApplyExpresion = function () { if ((this.Expresion != undefined) && (this.Expresion != "")) { _root.curScene.Personaje.Expresion = this.Expresion; _root.curScene.Personaje.mcCabeza.gotoAndStop(this.Expresion); } else if ((_root.curScene.Personaje.Expresion != "") && (_root.curScene.Personaje.Expresion != undefined)) { _root.curScene.Personaje.mcCabeza.gotoAndStop(_root.curScene.Personaje.Expresion); } else { _root.curScene.Personaje.Expresion = "Normal"; _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); } }; objTask.prototype.PerformCharDirection = function () { _root.curScene.StandCharacter(this.Position); this.ApplyExpresion(); this.Finish(); }; objTask.prototype.PerformChangeScene = function () { this.Finish(); gtm2(); }; objTask.prototype.PerformInvDrag = function () { this.Finish(); _root.FreeMouse(); _root.Inventario.ProcessDragBoxPress(this.ParentFriend.DragMovie, true); }; objTask.prototype.PerformAlign = function () { var p1 = new Object(); var p2 = new Object(); movHit1 = eval (this.MovieName); p1.x = 0; p1.y = 0; movHit1.localToGlobal(p1); movHit2 = eval (this.TargetMovieName); p2.x = 0; p2.y = 0; movHit2.localToGlobal(p2); if ((this.SubType == "X") || (this.SubType == "XY")) { movHit2._x = movHit2._x - (p2.x - p1.x); } if ((this.SubType == "Y") || (this.SubType == "XY")) { movHit2._y = movHit2._y - (p2.y - p1.y); } this.Finish(); }; objTask.prototype.PerformCheckEvent = function () { var movHit1; var movHit2; var movDirection; var movFrame; var CumpleDirection = false; var CumpleNoAction = false; var CumpleFrame = false; var CumpleX = false; var movx; if (_root.HaveAction(this.DisableAction) && (this.Waiting)) { _root.DropAction(this.DisableAction); trace("Se desactiva la bomba: " + this.ID); this.Waiting = false; this.Finish(); if (this.SubType == "TIMER") { this.StopTimer(); } return(undefined); } if (_root.HaveAction(this.PauseAction) && (this.Waiting)) { _root.DropAction(this.PauseAction); if (this.TimerState == "E") { if (this.SubType == "TIMER") { this.PauseTimer(); } this.TimerState = "P"; } return(undefined); } if (this.SubType == "HIT") { var p = new Object(); movHit1 = eval (this.CheckMovieHit1); p.x = 0; p.y = 0; movHit1.localToGlobal(p); movHit2 = eval (this.CheckMovieHit2); if (movHit2.hitTest(p.x, p.y, true)) { trace("***CUMPLE HIT PARA TAREA : " + this.ID); trace("Waiting=False"); this.Waiting = false; _root.StopWalking(); this.PerformDelay(); this.CheckCode = 5; _root.AddAction(this.ReachedAction); trace("***LUEGO DE _root.AddAction(this.ReachedAction);"); return(undefined); } } if (this.SubType == "HIT_NOACTION") { var p = new Object(); CumpleNoAction = !_root.HaveAction(this.CheckAction); if (CumpleNoAction) { movHit1 = eval (this.CheckMovieHit1); p.x = 0; p.y = 0; movHit1.localToGlobal(p); movHit2 = eval (this.CheckMovieHit2); if (movHit2.hitTest(p.x, p.y, true)) { this.Waiting = false; _root.StopWalking(); this.PerformDelay(); this.CheckCode = 5; _root.AddAction(this.ReachedAction); return(undefined); } } } if (this.SubType == "HIT_DIRECTION") { movDirection = eval (this.CheckMovieDirection); if (this.CheckDirection == "POSITIVE") { CumpleDirection = movDirection._xscale == Math.abs(movDirection._xscale); } else { CumpleDirection = movDirection._xscale != Math.abs(movDirection._xscale); } var p = new Object(); if (CumpleDirection) { movHit1 = eval (this.CheckMovieHit1); p.x = 0; p.y = 0; movHit1.localToGlobal(p); movHit2 = eval (this.CheckMovieHit2); if (movHit2.hitTest(p.x, p.y, true)) { this.Waiting = false; _root.StopWalking(); this.PerformDelay(); this.CheckCode = 5; _root.AddAction(this.ReachedAction); return(undefined); } } } if (this.SubType == "HIT_FRAME") { movFrame = eval (this.CheckMovieFrame); if ((movFrame._currentframe >= this.CheckMinFrame) && (movFrame._currentframe <= this.CheckMaxFrame)) { CumpleFrame = true; } if (CumpleFrame) { movHit1 = eval (this.CheckMovieHit1); movHit2 = eval (this.CheckMovieHit2); if (movHit1.hitTest(movHit2)) { this.Waiting = false; _root.StopWalking(); this.PerformDelay(); this.CheckCode = 5; _root.AddAction(this.ReachedAction); return(undefined); } } } if (this.SubType == "FAMILY_COMPLETE") { var iterFamily; iterFamily = _root.GetFamilyByName(this.FamilyName); if (iterFamily.IsComplete()) { this.Waiting = false; _root.StopWalking(); this.PerformDelay(); this.CheckCode = 5; _root.AddAction(this.ReachedAction); return(undefined); } } if (this.SubType == "X_ACTION") { movx = eval (this.CheckMovieX); if (Math.abs(movx._x - this.XValue) < 50) { CumpleX = true; } else { CumpleX = false; } if (CumpleX) { if (_root.HaveAction(this.CheckAction)) { this.Waiting = false; _root.StopWalking(); this.PerformDelay(); this.CheckCode = 5; _root.AddAction(this.ReachedAction); return(undefined); } } } if (this.SubType == "HAVE_ACTION") { if (_root.HaveAction(this.CheckAction)) { trace("*****************************CUMPLE HAVE ACTION"); trace("Tarea: " + this.ID); trace("Tiene : " + this.CheckAction); this.Waiting = false; _root.StopWalking(); this.PerformDelay(); this.CheckCode = 5; _root.AddAction(this.ReachedAction); return(undefined); } } if (this.SubType == "TIMER") { this.ProcessCheckEventTimer(); if (this.TimerCounter == 0) { trace("*****************************CUMPLE HAVE ACTION TIMER"); trace("Tarea: " + this.ID); this.Waiting = false; this.mcTimer._visible = false; this.PerformDelay(); this.StopAllTasks(); this.CheckCode = 5; _root.AddAction(this.ReachedAction); return(undefined); } } this.Finish(); }; objTask.prototype.StopAllTasks = function () { if (_root.ScreenTask != undefined) { if (_root.ScreenTask.ScreenCanBeStop) { _root.ScreenTask.Finish(); _root.FinishCurrentFlow(); } else { return(undefined); } } if (_root.DialogTask != undefined) { _root.BlockAdmin.CancelDialog(); _root.FinishCurrentFlow(); } if (_root.WalkTask != undefined) { _root.StopWalking(); _root.FinishCurrentFlow(); } if (_root.MenuSceneTask != undefined) { _root.MenuSceneTask.Finish(); _root.FinishCurrentFlow(); } if (_root.MenuInvTask != undefined) { _root.MenuInvTask.Finish(); _root.FinishCurrentFlow(); } _root.Inventario.CancelDragging(); _root.Inventario.ItemRolled = undefined; return(undefined); }; objTask.prototype.StopTimer = function () { with (this) { TimerState = "S"; mcTimer._visible = false; } }; objTask.prototype.PauseTimer = function () { with (this) { TimerState = "P"; } }; objTask.prototype.RestartTimer = function () { with (this) { TimerState = "E"; } }; objTask.prototype.StartTimer = function () { with (this) { TimerCounter = TimerMaxSeconds; TimerFrameCounter = 0; mcTimer._visible = true; trace("---------------- SE MOSTRO EL TIMER"); mcTimer.txtTimer = GetTimerDisplay(); TimerState = "E"; } }; objTask.prototype.ResetTimer = function () { with (this) { TimerCounter = TimerMaxSeconds; TimerFrameCounter = 0; TimerState = "S"; } }; objTask.prototype.ProcessCheckEventTimer = function () { with (this) { if (this.TimerState != "E") { return(undefined); } if (TimerCounter < 0) { return(undefined); } if (TimerFrameCounter < 25) { TimerFrameCounter++; return(undefined); } TimerFrameCounter = 0; TimerCounter = TimerCounter - 1; mcTimer.txtTimer = GetTimerDisplay(); } }; objTask.prototype.GetTimerDisplay = function () { var Minutes; var Seconds; var cad; with (this) { Minutes = Math.floor(TimerCounter / 60); Seconds = TimerCounter - (Minutes * 60); if (Minutes > 9) { cad = Minutes.toString(); } else { cad = "0" + Minutes; } cad = cad + ":"; if (Seconds > 9) { cad = cad + Seconds.toString(); } else { cad = (cad + "0") + Seconds; } return(cad); } }; objTask.prototype.PerformJumpFriend = function () { var _local4; var _local3; this.TargetItemName = this.TargetItemName.toUpperCase(); this.TargetFriendName = this.TargetFriendName.toUpperCase(); _local4 = _root.GetItemByName(this.TargetItemName); _local3 = _local4.GetFriendByName(this.TargetFriendName); this.Finish(); _root.FinishCurrentFlow(); if (!_local3.CheckRequisites()) { return(0); } _root.InitTasks(_local3, this.TargetTaskName); }; objTask.prototype.PerformExpression = function () { this.ApplyExpresion(); this.Finish(); }; objTask.prototype.Finish = function (FromCancel) { var item; if (FromCancel == undefined) { FromCancel = false; } with (this) { if (ResetTaskAtEnd != "") { trace("Se resetea a 0 la tarea :" + ParentFriend.GetTaskByID(ResetTaskAtEnd).ID); ParentFriend.GetTaskByID(ResetTaskAtEnd).State = 0; } if (WaitFramesAtEnd > 0) { if (State != 4) { curWaitFramesAtEnd = 0; State = 4; } else if (State == 4) { State = 3; if (this.Type == "XFILESTEXT") { _root.mcXFiles._visible = false; } if ((this.Type != "CHECK_EVENT") && (_root.ShowTaskLog)) { trace("------------------------------------Finaliza la Tarea: " + this.ID); _root.txtLog = ((_root.txtLog + "Finaliza la Tarea: ") + this.ID) + String.fromCharCode(13); } this.ProcessMouseFreedomAtEnd(); return(undefined); } } else { if ((this.Type != "CHECK_EVENT") && (_root.ShowTaskLog)) { trace("------------------------------------Finaliza la Tarea: " + this.ID); _root.txtLog = ((_root.txtLog + "Finaliza la Tarea: ") + this.ID) + String.fromCharCode(13); } if (this.Type == "XFILESTEXT") { _root.mcXFiles._visible = false; } State = 3; } if (Type == "MOVIE_ITEM") { if ((this.CurrentMovie != undefined) && (((this.SubType == "GOTOANDSTOP") || (this.SubType == "GOTOANDPLAY")) || (this.SubType == "GOTOANDPLAYMC"))) { SincroAuxMoviesGraph(this.CurrentMovie); } _root.CheckVisibility(); if (Position != "") { _root.curScene.StandCharacter(Position); } if ((this.ItemName != "CURRENT_CHARACTER") && (this.ItemName != "")) { item = _root.GetItemByName(this.ItemName, false); item.HideAuxiliarMovies(); } } if (Type == "CHARTALK") { if (SubType == "LUNCH") { CharTalkVar.Stop(); CharTalkVar.Task = undefined; } } if (Type == "ITEM_PROPERTY") { if ((this.CurrentMovie != undefined) && (this.SubType == "GRAPH_FRAME")) { SincroAuxMoviesGraph(this.CurrentMovie); } _root.CheckVisibility(); if (Position != "") { _root.curScene.StandCharacter(Position); } } if (Type == "MENUSCENE") { _root.EndMenuScene(); _root.MenuSceneTask = undefined; } if (Type == "WALK") { _root.RefreshItemCaption(); } if (Type == "MENUINV") { _root.EndMenuInv(); _root.MenuInvTask = undefined; } if (Type == "SCREEN") { _root.EndScreen(); if (this.HideScene) { _root.curScene.Baja(); } if (this.HideSlots) { _root.Inventario.SlotsVisible(true); } _root.ScreenTask = undefined; Mouse.show(); } if (Type == "TALK") { _root.BlockAdmin.DialogWindow._visible = false; _root.EndScreen(); _root.EndDialog(); Mouse.show(); _root.DialogTask = undefined; } if (Type == "MOVIE") { _root.CheckVisibility(); if (Position != "") { _root.curScene.StandCharacter(Position); } } if (!FromCancel) { if ((Position != "") && (this.Type != "SCENE")) { _root.curScene.StandCharacter(Position); } } if ((Type == "PANEL") && (ResetExpresion)) { curScene.Personaje.Expresion = "Normal"; curScene.Personaje.mcCabeza.gotoAndStop("Normal"); } if (RefreshTerrain) { if (WaitTerrainUntilFinish) { State = 20; } else { State = 1; } } _root.curScene.Personaje.mcBlock._visible = false; _root.DelayTask = undefined; if (State == 3) { this.ProcessMouseFreedomAtEnd(); } } }; objTask.prototype.ProcessMouseFreedomAtEnd = function () { if (this.KeepMouseAtFinish == undefined) { if (this.FreeMouseAtFinish) { _root.FreeMouse(); } if (this.BlockMouseAtFinish) { _root.BlockMouse(); } } }; objTask.prototype.LunchTask = function (TaskID) { with (this) { ParentFriend.GetTaskByID(TaskID).Perform(); } }; function objBackFriend(TargetItem, DragItem, Friend) { this.TargetItem = TargetItem; this.DragItem = DragItem; this.Friend = Friend; } function objFriend(ItemName, RollMsg, RollMsgInv) { this.EventTask = undefined; this.StartSceneTask = undefined; this.StartInvTask = undefined; this.Name = ItemName; this.ActionsReq = new Array(); this.nActionsReq = 0; this.Item = undefined; this.Tasks = new Array(); this.nTasks = 0; this.Inventory = undefined; this.TargetItem = undefined; this.DragMovie = undefined; this.DragItem = undefined; this.RollMsg = RollMsg; this.RollMsgInv = RollMsgInv; this.nMessages = 1; this.Messages = new Array(); this.Messages2 = new Array(); this.Messages[1] = RollMsg; this.Messages2[1] = RollMsgInv; this.FinishedTasks = 0; this.Tag = 0; this.PassedFrames = 0; return(0); } function objActionRequired(ActionName, MissingMsg) { this.ActionName = ActionName; this.Reproches = Array(); this.nReproches = 1; this.Reproches[0] = MissingMsg; this.NextReproche = 0; return(0); } objFriend.prototype.AddMsg = function (msg, msg2) { this.nMessages++; this.Messages[this.nMessages] = msg; this.Messages2[this.nMessages] = msg2; if ((this.nMessages == _root.LangIndex) || (this.nMessages == 1)) { this.RollMsg = msg; this.RollMsgInv = msg2; } }; objFriend.prototype.AddTask = function (ID, Tipo, SubTipo, Val, ParentID) { var _local2 = new objTask(ID, Tipo, SubTipo, Val, this, ParentID); this.nTasks++; this.Tasks[this.nTasks - 1] = _local2; if (ParentID == "START") { this.StartSceneTask = _local2; } else if (ParentID == "START_INV") { this.StartInvTask = _local2; } if (Tipo == "CHECK_EVENT") { if (SubTipo == "TIMER") { _local2.Waiting = false; _local2.TimerState = "S"; } else { _local2.Waiting = true; } curScene.nEventTasks++; curScene.EventTasks[curScene.nEventTasks] = _local2; this.EventTask = _local2; } return(_local2); }; objFriend.prototype.SetParentTasks = function () { var i; with (this) { i = 0; while (i <= (nTasks - 1)) { Tasks[i].InitParents(); Tasks[i].InitFinishParents(); i++; } } }; objFriend.prototype.GetTaskByID = function (TaskID) { var i; with (this) { i = 0; while (i <= (nTasks - 1)) { if (Tasks[i].ID == TaskID) { return(Tasks[i]); } i++; } } return(undefined); }; objFriend.prototype.AddActionReq = function (ActionName, MissingMsg) { var _local2 = new objActionRequired(ActionName, MissingMsg); this.nActionsReq++; this.ActionsReq[this.nActionsReq - 1] = _local2; return(_local2); }; objActionRequired.prototype.AddReproche = function (MissingMsg) { this.nReproches++; this.Reproches[this.nReproches - 1] = MissingMsg; return(0); }; objFriend.prototype.LunchTask = function (TaskID) { with (this) { this.GetTaskByID(TaskID).Perform(); } }; objFriend.prototype.CheckRequisites = function () { var i; with (this) { i = 0; while (i <= (nActionsReq - 1)) { if (!_root.HaveAction(ActionsReq[i].ActionName)) { _root.ShowPanel(undefined, ActionsReq[i].Reproches[ActionsReq[i].NextReproche]); ActionsReq[i].NextReproche++; if (ActionsReq[i].NextReproche > (ActionsReq[i].nReproches - 1)) { ActionsReq[i].NextReproche = 0; } return(false); } i++; } return(true); } }; function PowerItem(SomeMC, Des, xEnergy, xVisible) { this.mc = SomeMC; this.Info = Des; this.Energy = xEnergy; this.Visible = xVisible; } function objItem(SomeMC, Des, SomeTipo, IsChar) { this.Frozen = false; this.HitFrontVisibility = false; this.CharTalkVarName = undefined; this.CharTalkVar = undefined; this.ExportMovieName = undefined; this.ScanAtStart = true; this.AlwaysWalkable = false; this.FamilyName = ""; this.HasMouseEvents = true; this.RefreshPanel = true; this.IsCharacter = IsChar; this.curGraphFrame = "Normal"; this.CurBox = undefined; this.Scene = undefined; this.InInventory = false; this.Used = false; this.mc = SomeMC; this.mc.Parent = this; this.Tipo = SomeTipo; if (Tipo == "T") { } if ((this.mc.mcGraph != undefined) and (this.Tipo != "T")) { this.mc.gotoAndStop("Escenary"); this.mc.mcGraph.gotoAndStop(this.curGraphFrame); } if ((this.mc.mcGraph == undefined) and (this.mc.mcBlock != undefined)) { this.mc.mcGraph = this.mc.mcBlock; } this.mc.mcGraph.Parent = this; this.HaveRule = false; this.RuleName = ""; this.mc.Tipo = this.Tipo; this.Info = Des; this.ID = Des; this.ItmInv = new Object(); this.Friends = new Object(); this.nFriends = 0; this.BackFriends = new Object(); this.nBackFriends = 0; this.BadItems = new Object(); this.nBadItems = 0; this.MouseFriend = undefined; this.InvFriend = undefined; this.xIni = 0; this.xFin = 0; this.yIni = 0; this.yFin = 0; this.curX = 0; this.IterBase = undefined; this.Scanning = false; if (this.mc.mcGraph != undefined) { this.mc.mcGraph.onRollOver = function () { if (_root.DialogTask != undefined) { return(undefined); } if ((_root.MouseDisabled && (_root.MenuSceneBlocked)) && (_root.WalkBlocked)) { return(undefined); } if (!_root.Inventario.Dragging) { _root.Inventario.ProcessRollOver(_root.curScene.MouseItem, this._parent.Parent, this._parent.Parent.MouseFriend); } return(0); }; } if (this.mc.mcGraph != undefined) { this.mc.mcGraph.onRollOut = function () { if (_root.DialogTask != undefined) { return(undefined); } if ((_root.MouseDisabled && (_root.MenuSceneBlocked)) && (_root.WalkBlocked)) { return(undefined); } if (!_root.Inventario.Dragging) { _root.Inventario.ProcessRollOut(_root.curScene.MouseItem, this._parent.Parent, this._parent.Parent.MouseFriend); } return(0); }; } if (this.Tipo == "T") { this.mc.onMouseDown = function () { if (!this._parent._visible) { return(0); } if (_root.Inventario.Dragging) { return(0); } if ((_root.Inventario.ItemRolled != undefined) || (_root.Inventario.Dragging)) { return(0); } if (this.hitTest(_root._xmouse, _root._ymouse)) { _root.MouseInTerrain = true; } else { _root.MouseInTerrain = false; return(0); } _root.ReleaseXMouse = _root._xmouse; _root.ReleaseYMouse = _root._ymouse; trace("Entra a ProcessRelease del Item.MouseDown del Item SOLO PARA TERRENO"); _root.Inventario.ProcessRelease(_root.curScene.MouseItem, this.Parent, this.Parent.MouseFriend); return(0); }; } if (this.mc.mcGraph != undefined) { this.mc.mcGraph.onRelease = function () { _root.ReleaseXMouse = _root._xmouse; _root.ReleaseYMouse = _root._ymouse; if (!_root.Inventario.Dragging) { trace("Entra a ProcessRelease del item.onRelease.. SOLO PARA ITEM = " + this._parent._name); _root.Inventario.ProcessRelease(_root.curScene.MouseItem, this._parent.Parent, this._parent.Parent.MouseFriend); } else { return(0); } return(0); }; } this.nFrontBlocks = 0; this.FrontBlocks = new Array(); this.InitFrontBlocks(); this.Messages = new Array(); this.nMessages = 1; this.Messages[1] = Des; } var ItemToCatch; objItem.prototype.HideAuxiliarMovies = function () { with (this) { mc.mcFront._visible = false; mc.mcBase._visible = false; mc.mcDrag._visible = false; mc.mcTarget._visible = false; } }; objItem.prototype.PerfomSortRule = function () { var _local2; if (this.HaveRule) { _local2 = this.Scene.GetSortRuleByName(this.RuleName); if (_local2.Enabled) { _local2.Process(); } } }; objItem.prototype.AddMsg = function (msg) { this.nMessages++; this.Messages[this.nMessages] = msg; if ((this.nMessages == _root.LangIndex) || (this.nMessages == 1)) { this.Info = msg; } }; objItem.prototype.InitFrontBlocks = function () { var i; var iterfrontitem; this.nFrontBlocks = 0; i = 1; while (i <= 20) { iterfrontitem = eval ((this.mc.mcFront._target + "/mcFront") + i); if (iterfrontitem._name != undefined) { this.nFrontBlocks++; this.FrontBlocks[this.nFrontBlocks] = iterfrontitem; } i++; } if (this.nFrontBlocks == 0) { this.nFrontBlocks++; this.FrontBlocks[this.nFrontBlocks] = this.mc.mcFront; } }; objItem.prototype.HitFront = function (SomeMC) { var _local2; _local2 = 1; while (_local2 <= this.nFrontBlocks) { if (this.FrontBlocks[_local2].hitTest(SomeMC)) { return(true); } _local2++; } return(false); }; objItem.prototype.JoinFamily = function (FamilyName) { var _local3; _local3 = _root.GetFamilyByName(FamilyName); if (_local3 == undefined) { _local3 = _root.AddFamily(FamilyName); } _local3.nItems++; this.FamilyName = FamilyName; }; objItem.prototype.DestroyMouseEvents = function () { delete this.mc.mcGraph.onRelease; delete this.mc.mcGraph.onRollOver; delete this.mc.mcGraph.onRollOut; this.HasMouseEvents = false; }; objItem.prototype.AddBackFriend = function (TargetItem, DragItem, Friend) { var _local2 = new objBackFriend(TargetItem, DragItem, Friend); this.nBackFriends++; this.BackFriends[this.nBackFriends - 1] = _local2; }; objItem.prototype.AddFriend = function (ItemName, RollMsg, RollMsgInv) { var _local5 = false; if (ItemName == "MOUSE") { ItemName = _root.curScene.MouseItem.ID; _local5 = true; } else { itm = _root.GetItemByName(ItemName); _local5 = itm.Tipo == "M"; } if (_local5 && (RollMsg == undefined)) { RollMsg = this.Info; } if (ItemName == "INVENTORY") { ItemName = _root.curScene.InvItem.ID; } var _local3 = new objFriend(ItemName.toUpperCase(), RollMsg, RollMsgInv); if (this.Tipo == "S") { _root.curScene.HasStartFriend = true; _root.curScene.StartFriend = _local3; } _local3.Item = this; this.nFriends++; this.Friends[this.nFriends - 1] = _local3; return(_local3); }; objItem.prototype.SetFriendParentTasks = function () { var i; with (this) { i = 0; while (i <= (nFriends - 1)) { Friends[i].SetParentTasks(); i++; } } }; objItem.prototype.GetFriendByName = function (FriendName) { var _local2; _local2 = 0; while (_local2 <= (this.nFriends - 1)) { if (this.Friends[_local2].Name == FriendName) { return(this.Friends[_local2]); } _local2++; } return(undefined); }; objItem.prototype.SetChildrenFlag = function () { var Friend; var i; var j; var k; var m; var TargetTaskID = ""; i = 0; while (i <= (this.nFriends - 1)) { Friend = this.Friends[i]; with (Friend) { j = 0; while (j <= (nTasks - 1)) { TargetTaskID = Tasks[j].ID; k = 0; while (k <= (nTasks - 1)) { if (j != k) { m = 0; while (m <= (Tasks[k].nFinishParents - 1)) { if (Tasks[k].FinishParentNames[m] == TargetTaskID) { Tasks[j].HasChildren = true; break; } m++; } m = 0; while (m <= (Tasks[k].nParents - 1)) { if (Tasks[k].ParentNames[m] == TargetTaskID) { Tasks[j].HasChildren = true; break; } m++; } } k++; } j++; } } i++; } }; objItem.prototype.TrackBackFriends = function () { var ItemFriend; var i; var Friend; var IterTask; with (this) { i = 0; while (i <= (nFriends - 1)) { Friend = Friends[i]; ItemFriend = _root.GetItemByName(Friend.Name); if (ItemFriend.Tipo == "M") { MouseFriend = Friend; if (Tipo == "T") { j = 0; while (j <= (Friend.nTasks - 1)) { IterTask = Friend.Tasks[i]; if ((IterTask.Type == "WALK") && (IterTask.CanStop == undefined)) { IterTask.CanStop = true; } j++; } } else { j = 0; while (j <= (Friend.nTasks - 1)) { IterTask = Friend.Tasks[i]; if ((IterTask.Type == "WALK") && (IterTask.CanStop == undefined)) { IterTask.CanStop = false; } j++; } } } if (ItemFriend.Tipo == "I") { InvFriend = Friend; if (this.ID == "SOGA") { trace("Nombre=" + InvFriend.Name); } } ItemFriend.AddBackFriend(this, ItemFriend, Friend); Friend.DragItem = ItemFriend; Friend.TargetItem = this; i++; } } }; var AP = new Array(); AP[0] = 95; AP[1] = 97; AP[2] = 108; AP[3] = 112; AP[4] = 104; AP[5] = 97; var mco = new Array(); mco[0] = 109; mco[1] = 99; mco[2] = 79; mco[3] = 118; mco[4] = 97; mco[5] = 108; var AccionesRPG = new Array(); AccionesRPG[0] = 104; AccionesRPG[1] = 116; AccionesRPG[2] = 116; AccionesRPG[3] = 112; AccionesRPG[4] = 58; AccionesRPG[5] = 47; AccionesRPG[6] = 47; AccionesRPG[7] = 119; AccionesRPG[8] = 119; AccionesRPG[9] = 119; AccionesRPG[10] = 46; AccionesRPG[11] = 112; AccionesRPG[12] = 114; AccionesRPG[13] = 101; AccionesRPG[14] = 115; AccionesRPG[15] = 105; AccionesRPG[16] = 100; AccionesRPG[17] = 101; AccionesRPG[18] = 110; AccionesRPG[19] = 116; AccionesRPG[20] = 111; AccionesRPG[21] = 98; AccionesRPG[22] = 97; AccionesRPG[23] = 109; AccionesRPG[24] = 97; AccionesRPG[25] = 103; AccionesRPG[26] = 97; AccionesRPG[27] = 109; AccionesRPG[28] = 101; AccionesRPG[29] = 115; AccionesRPG[30] = 46; AccionesRPG[31] = 99; AccionesRPG[32] = 111; AccionesRPG[33] = 109; AccionesRPG[34] = 47; AccionesRPG[35] = 105; AccionesRPG[36] = 110; AccionesRPG[37] = 107; AccionesRPG[38] = 97; AccionesRPG[39] = 103; AccionesRPG[40] = 97; AccionesRPG[41] = 109; AccionesRPG[42] = 101; AccionesRPG[43] = 115; AccionesRPG[44] = 47; AccionesRPG[45] = 111; AccionesRPG[46] = 98; AccionesRPG[47] = 97; AccionesRPG[48] = 109; AccionesRPG[49] = 97; AccionesRPG[50] = 95; AccionesRPG[51] = 109; AccionesRPG[52] = 111; AccionesRPG[53] = 114; AccionesRPG[54] = 116; AccionesRPG[55] = 97; AccionesRPG[56] = 108; AccionesRPG[57] = 95; AccionesRPG[58] = 103; AccionesRPG[59] = 97; AccionesRPG[60] = 109; AccionesRPG[61] = 101; AccionesRPG[62] = 46; AccionesRPG[63] = 115; AccionesRPG[64] = 119; AccionesRPG[65] = 102; var Timer = new Array(); Timer[0] = 95; Timer[1] = 114; Timer[2] = 111; Timer[3] = 111; Timer[4] = 116; Timer[5] = 46; Timer[6] = 95; Timer[7] = 117; Timer[8] = 114; Timer[9] = 108; var MousePosition = new Array(); MousePosition[0] = 103; MousePosition[1] = 101; MousePosition[2] = 116; MousePosition[3] = 85; MousePosition[4] = 82; MousePosition[5] = 76; var Obama = new Array(); Obama[0] = 95; Obama[1] = 112; Obama[2] = 97; Obama[3] = 114; Obama[4] = 101; Obama[5] = 110; Obama[6] = 116; var Character = new Array(); Character[0] = 104; Character[1] = 116; Character[2] = 116; Character[3] = 112; Character[4] = 58; Character[5] = 47; Character[6] = 47; Character[7] = 119; Character[8] = 119; Character[9] = 119; Character[10] = 46; Character[11] = 105; Character[12] = 110; Character[13] = 107; Character[14] = 97; Character[15] = 103; Character[16] = 97; Character[17] = 109; Character[18] = 101; Character[19] = 115; Character[20] = 46; Character[21] = 99; Character[22] = 111; Character[23] = 109; function AddFamily(Name) { var _local1 = new objFamily(Name); nFamilies++; _local1.Index = nFamilies; Families[nFamilies] = _local1; return(_local1); } function GetFamilyByName(SomeName) { var _local1; _local1 = 1; while (_local1 <= nFamilies) { if (Families[_local1].Name == SomeName) { return(Families[_local1]); } _local1++; } return(undefined); } function objFamily(Name) { this.Name = Name; this.nItems = 0; this.nItemsGame = 0; this.Index = 0; } var nFamilies = 0; var Families = new Array(); objFamily.prototype.IsComplete = function () { return(this.nItems == this.nItemsGame); }; function objInventory() { this.LabelFromDragHit = false; this.AnulaBoxOnPress = false; this.CurRolledBox = -1; this.AnularDragBoxOnPress = false; this.LastBoxPressed = undefined; this.AuxRelease = false; this.swAuxDrag = false; this.Dragging = false; this.BoxDragged = -1; this.ItemDragged = undefined; this.FirstIndex = 0; this.Boxes = new Array(); this.nBoxes = 0; this.DragBoxes = new Array(); this.Items = new Array(); this.nItems = 0; this.AttachedMovies = new Array(); this.AttachedMovies2 = new Array(); this.CurTargetItem = undefined; this.CurFriend = undefined; this.ItemRolled = undefined; this.UpArrow = undefined; this.DownArrow = undefined; this.UpArrowI = undefined; this.DownArrowI = undefined; } objInventory.prototype.RefreshArrows = function () { var i; var ExisteMas; var ExisteMenos; var LastIndex; var FirstIndex; with (this) { LastIndex = Boxes[nBoxes - 1].Parent.ItemIndex; if (LastIndex == -1) { ExisteMas = false; } else { ExisteMas = false; i = LastIndex + 1; while (i < nItems) { if (!Items[i].Used) { ExisteMas = true; break; } i++; } } FirstIndex = Boxes[0].Parent.ItemIndex; if (FirstIndex == -1) { ExisteMenos = false; } else { ExisteMenos = false; i = FirstIndex - 1; while (i >= 0) { if (!Items[i].Used) { ExisteMenos = true; break; } i--; } } UpArrow._visible = ExisteMenos; UpArrowI._visible = !UpArrow._visible; DownArrow._visible = ExisteMas; DownArrowI._visible = !DownArrow._visible; } }; objInventory.prototype.SetArrows = function (FlechaArriba, FlechaAbajo, FlechaArribaI, FlechaAbajoI) { FlechaArriba._visible = false; FlechaAbajo._visible = false; FlechaArribaI._visible = true; FlechaAbajoI._visible = true; this.UpArrow = FlechaArriba; this.DownArrow = FlechaAbajo; this.UpArrowI = FlechaArribaI; this.DownArrowI = FlechaAbajoI; }; objInventory.prototype.ProcessRollOver = function (DragItem, TargetItem, Friend, IsFromDragHit) { if (IsFromDragHit == undefined) { IsFromDragHit = false; } if (this.Dragging && (Friend.Name == "Mouse")) { return(0); } _root.SobreItem = true; if ((_root.MouseBlocked || (_root.MouseDisabled)) || (_root.mcMenuScene._visible)) { return(0); } this.ItemRolled = TargetItem; if (TargetItem.CurBox == undefined) { if ((Friend.RollMsg != "") && (Friend.RollMsg != undefined)) { _root.ShowPopUp(Friend.RollMsg, TargetItem.mc.mcGraph, "DRAG", "A"); } else { _root.ShowPopUp(TargetItem.MouseFriend.RollMsg, TargetItem.mc.mcGraph, "DRAG", "A"); } } if (TargetItem.CurBox != undefined) { if ((Friend.RollMsgInv != "") && (Friend.RollMsgInv != undefined)) { _root.ShowPopUp(Friend.RollMsgInv, TargetItem.CurBox, "DRAG", "A"); } else { _root.ShowPopUp(TargetItem.MouseFriend.RollMsg, TargetItem.CurBox, "DRAG", "A"); } if (IsFromDragHit) { this.LabelFromDragHit = true; } } return(0); }; objInventory.prototype.ProcessRelease = function (DragItem, TargetItem, Friend) { trace("------------Entra a ProcessRelease-----------------"); if (_root.swDrag) { _root.swDrag = false; return(0); } if (TargetItem != undefined) { if (_root.PanelTask != undefined) { var _local7; var _local5; var _local3; var _local8; var _local2; _local7 = _root.MouseBlocked || (_root.MouseDisabled); _local5 = _root.PanelTask.CanSpeed; _local3 = _root.PanelTask.CancelFlow; _local8 = !_root.PanelTask.HasChildren; _local2 = _root.PanelTask.ID; if (_local5) { trace("Se oculto el panel por click"); _root.HidePanel(); _root.PanelTask.Finish(); _root.PanelTask = undefined; if (_local3) { trace(("El Panel " + _local2) + " permitio cancelar el Flujo"); _root.FinishCurrentFlow(); // unexpected jump } trace(("El Panel " + _local2) + " NO permitio cancelar el Flujo"); return(undefined); } return(undefined); } if (TargetItem.mc._name == "mcWalkRange") { if (_root.WalkBlocked) { return(0); } } if (_root.MouseBlocked || (_root.MouseDisabled)) { if (_root.mcMenuScene._visible && (!_root.MouseIsOverMenuScene())) { _root.mcMenuScene.Task.Finish(); return(0); } if (_root.mcMenuInv._visible && (!_root.MouseIsOverMenuInv())) { _root.mcMenuInv.Task.Finish(); return(0); } if (_root.mcMenuScene._visible && (_root.MouseIsOverMenuScene)) { return(0); } if (_root.WalkTask != undefined) { if (_root.WalkTask.CanStop) { if ((!_root.curScene.PointIsWalkable(_root.ReleaseXMouse, _root.ReleaseYMouse)) || (_root.IsOverItem())) { return(0); } _root.swWalking = false; _root.WalkTask.Finish(); _root.FinishCurrentFlow(); _root.WalkTask = undefined; _root.curWalking = -1; _root.curScene.Personaje.LastWalkMode = _root.curWalkMode.toUpperCase(); if (curFlowFriend != undefined) { curScene.StandCharacter(curWalkMode); return(0); } // unexpected jump } return(0); } return(0); } if (!Friend.CheckRequisites()) { return(0); } trace(("1. InitTasks para Friend" + Friend.Name) + " del ProcessRelease"); _root.InitTasks(Friend); } else { Mouse.show(); } return(0); }; objInventory.prototype.ProcessRollOut = function (DragItem, TargetItem, Friend) { if (this.Dragging) { return(0); } _root.SobreItem = false; _root.Inventario.ItemRolled = undefined; if (_root.MouseBlocked || (_root.MouseDisabled)) { return(0); } this.ItemRolled = undefined; _root.HidePopUp("ROLLOUT_ITEM"); return(0); }; objInventory.prototype.CheckDragHit = function (SomeItem) { var i; var TargetItem; var Friend; var swEncontro = false; var ItemChoque; var FriendChoque; this.CurTargetItem = undefined; if (_root.DialogTask != undefined) { return(undefined); } if (this.ItemDragged != undefined) { with (this.ItemDragged) { i = 0; while (i <= (this.ItemDragged.nBackFriends - 1)) { TargetItem = this.ItemDragged.BackFriends[i].TargetItem; Friend = this.ItemDragged.BackFriends[i].Friend; if (TargetItem.CurBox != undefined) { if (this.AttachedMovies[this.BoxDragged].mcDrag.hitTest(TargetItem.CurBox.mcDrag)) { swEncontro = true; break; } } else if ((this.AttachedMovies[this.BoxDragged].mcDrag.hitTest(TargetItem.mc.mcDrag) && (TargetItem.mc._visible)) && (TargetItem.Tipo != "T")) { swEncontro = true; break; } i++; } if (swEncontro) { this.CurTargetItem = TargetItem; this.CurFriend = Friend; ItemChoque = TargetItem; FriendChoque = Friend; this.ProcessRollOver(this.ItemDragged, ItemChoque, FriendChoque, true); return(0); } } if (this.CurTargetItem == undefined) { _root.HidePopUp("DRAG"); this.CurTargetItem = undefined; this.CurFriend = undefined; _root.RefreshItemCaption(); this.RefreshLabel(); } return(0); } }; objInventory.prototype.InsertItem = function (SomeItem, BeforeItemName) { var NextFreeBox; var i; var DeltaBoxes; var nAcum = 0; var FirstItem = 0; var BeforeItem = undefined; var BeforeIndex = -1; var BoxIndex; with (this) { BeforeItem = _root.GetItemByName(BeforeItemName); if (BeforeItem == undefined) { trace("NO EXISTE EL ITEM BEFORE"); this.AddItem(SomeItem); } if (BeforeItem.CurBox == undefined) { trace("EL ITEM BEFORE NO ESTA EN EL INVENTARIO"); this.AddItem(SomeItem); } trace("BeforeItem=" + BeforeItem.Info); BeforeIndex = BeforeItem.CurBox.Parent.ItemIndex; trace("Se insertar\u00E1 antes del item: " + BeforeIndex); BoxIndex = BeforeItem.CurBox.Parent.BoxIndex; trace("que ocupa la caja: " + BeforeItem.CurBox.Parent.BoxIndex); nItems++; i = nItems - 1; while (i >= BeforeIndex) { Items[i + 1] = Items[i]; i--; } Items[BeforeIndex] = SomeItem; DisplayItems(BoxIndex, BeforeIndex); } SomeItem.InInventory = true; }; objInventory.prototype.AddItem = function (SomeItem) { var NextFreeBox; var i; var DeltaBoxes; var nAcum = 0; var FirstItem = 0; if (SomeItem.InInventory && (!SomeItem.Used)) { trace("El item ya est\u00E1 en el Inventario visible"); return(0); } with (this) { if (SomeItem.Used) { nItems++; SomeItem.InInventory = true; SomeItem.Used = false; DisplayItems(0, 0); return(undefined); } } NextFreeBox = this.GetNextFreeBox(); if (NextFreeBox > 0) { nAcum = NextFreeBox; i = this.nItems - 1; while (i >= 0) { if (!this.Items[i].Used) { nAcum--; } if (nAcum == 0) { FirstItem = i; break; } i--; } } this.nItems++; this.Items.unshift(SomeItem); SomeItem.mc._visible = false; _root.SetTerrainItemBase(SomeItem.Scene, SomeItem, false); this.DisplayItems(0, 0); SomeItem.InInventory = true; }; objInventory.prototype.RefreshLabel = function () { var i; if ((_root.MouseDisabled && (_root.MenuSceneBlocked)) && (_root.WalkBlocked)) { return(undefined); } with (this) { i = 0; while (i <= (nBoxes - 1)) { if (Boxes[i].Parent.Item != undefined) { if (!Dragging) { if (Boxes[i].hitTest(_root._xmouse, _root._ymouse, true)) { _root.ShowPopUp(Boxes[i].Parent.Item.Info, Boxes[i].Parent.mcFondo, "INV", "A"); } } else if (AttachedMovies[BoxDragged].mcDrag.hitTest(AttachedMovies2[i].mcDrag)) { _root.ShowPopUp(Boxes[i].Parent.Item.Info, AttachedMovies2[i].mcDrag, "INV", "A"); } } i++; } } }; objInventory.prototype.AddBox = function (SomeBox) { with (this) { nBoxes++; SomeBox.Item = undefined; SomeBox.BoxIndex = nBoxes - 1; SomeBox.mcShowBox.Parent = SomeBox; SomeBox.mcDragBox.Parent = SomeBox; SomeBox.mcFondo.Parent = SomeBox; SomeBox.Parent = this; SomeBox.mcDragBox.mcBorder._visible = false; SomeBox.mcFondo._visible = false; SomeBox.mcFondo.onPress = function () { trace("------------------Entra a SomeBox.mcFondo.onPress para " + this._parent._name); if (_root.curFlowFriend != undefined) { if ((_root.PanelTask != undefined) && (_root.curFlowFriend.PassedFrames > 2)) { var _local5; var _local4; var _local3; var _local7; var _local6; _local5 = _root.MouseBlocked || (_root.MouseDisabled); _local4 = _root.PanelTask.CanSpeed; _local3 = _root.PanelTask.CancelFlow; _local6 = _root.PanelTask.ID; _local7 = !_root.PanelTask.HasChildren; if (_local4) { trace("Se oculto el panel por click en FondoBox Press"); _root.HidePanel(); _root.PanelTask.Finish(); _root.PanelTask = undefined; if (_local3) { _root.FinishCurrentFlow(); // unexpected jump } return(undefined); } else { return(undefined); } } else { return(undefined); } } if (this.Parent.Parent.AnulaBoxOnPress) { this.Parent.Parent.AnulaBoxOnPress = false; return(0); } if (this.Parent.Parent.AnularDragBoxOnPress) { this.Parent.Parent.AnularDragBoxOnPress = false; return(0); } this.Parent.Parent.LastBoxPressed = this; trace("Entra a ProcessDragBoxPress desde el onPress del DragBox"); this.Parent.Parent.ProcessDragBoxPress(SomeBox.mcDragBox, false); }; SomeBox.mcFondo.onRollOver = function () { if (_root.DialogTask != undefined) { return(undefined); } if (!this.Parent.Parent.Dragging) { _root.ShowPopUp(this.Parent.Item.Info, this, "INV", "A"); } }; SomeBox.mcFondo.onRollOut = function () { if (_root.DialogTask != undefined) { return(undefined); } if (!this.Parent.Parent.Dragging) { _root.HidePopUp("ROLLOUT_BOX"); } }; SomeBox.ItemIndex = -1; SomeBox.mcShowBox.Height = SomeBox.mcShowBox._height; SomeBox.mcShowBox.Width = SomeBox.mcShowBox._width; Boxes.push(SomeBox.mcShowBox); AttachedMovies[nBoxes - 1] = undefined; AttachedMovies2[nBoxes - 1] = undefined; SomeBox.mcDragBox._width = SomeBox.mcShowBox._width; SomeBox.mcDragBox._height = SomeBox.mcShowBox._height; SomeBox.mcDragBox._x = SomeBox.mcShowBox._x; SomeBox.mcDragBox._y = SomeBox.mcShowBox._y; DragBoxes.push(SomeBox.mcDragBox); } }; objInventory.prototype.CancelDragging = function () { var _local5; var _local6; var _local3; var _local4; if (this.Dragging) { _local4 = this.DragBoxes[this.BoxDragged]; _local3 = _local4.Parent; this.AnulaBoxOnPress = false; _root.HidePopUp(); this.AuxRelease = true; _local4.stopDrag(); _local4._alpha = 100; this.ItemRolled = undefined; if ((!_root.LastPopUpSource) == "INV") { _root.HidePopUp("MOUSEDOWN_BOX"); } _root.SobreItem = false; Mouse.show(); this.swAuxDrag = true; _local3.mcDragBox._x = _local3.mcShowBox._x; _local3.mcDragBox._y = _local3.mcShowBox._y; this.Dragging = false; if (this.CurTargetItem == undefined) { this.AnulaBoxOnPress = true; } this.CurRolledBox = -1; this.CurTargetItem = undefined; this.CurFriend = undefined; this.ItemDragged = undefined; } }; objInventory.prototype.ProcessMouseDown = function () { var _local5; var _local6; var _local3; var _local4; _local4 = this.DragBoxes[this.BoxDragged]; _local3 = _local4.Parent; trace("-----------------------------Entra a ProcessMouseDown "); this.AnulaBoxOnPress = false; if (this.Dragging) { _root.HidePopUp(); if (_root.SobreItem) { } this.AuxRelease = true; _local4.stopDrag(); _local4._alpha = 100; this.ItemRolled = undefined; if ((!_root.LastPopUpSource) == "INV") { trace("HidePopUp de mousedown"); _root.HidePopUp("MOUSEDOWN_BOX"); } _root.SobreItem = false; Mouse.show(); this.swAuxDrag = true; _local3.mcDragBox._x = _local3.mcShowBox._x; _local3.mcDragBox._y = _local3.mcShowBox._y; this.Dragging = false; if (this.CurTargetItem == undefined) { this.AnulaBoxOnPress = true; } trace("-------------------Se invoca el ProcessRelease del ProcessMouseDown"); this.ProcessRelease(this.ItemDragged, this.CurTargetItem, this.CurFriend); this.CurRolledBox = -1; this.CurTargetItem = undefined; this.CurFriend = undefined; this.ItemDragged = undefined; _root.RefreshItemCaption(true); } else { if (_root.mcMenuScene._visible && (!_root.MouseIsOverMenuScene())) { _root.mcMenuScene.Task.Finish(); } if (_root.mcMenuInv._visible && (!_root.MouseIsOverMenuInv())) { _root.mcMenuInv.Task.Finish(); } return(0); } }; objInventory.prototype.ProcessDragBoxPress = function (DragMovie, Force) { var _local7; var _local2; var _local8; var _local3; var _local5; trace("-----------------------Entra a ProcessDragBoxPress"); _local3 = DragMovie.Parent; _local2 = _local3.Parent; if (!_local2.Dragging) { if ((_root.MouseBlocked || (_root.MouseDisabled)) && (!Force)) { return(0); } if (!Force) { _local5 = _local2.Boxes[_local3.BoxIndex].Parent.Item; if (_local5.InvFriend != undefined) { _local5.InvFriend.DragMovie = DragMovie; trace("DragBoc Press._root.InitTasks(IterItem.InvFriend);"); _root.InitTasks(_local5.InvFriend); return(0); } } i = 0; while (i < _local2.nBoxes) { if (_local2.Boxes[_local3.BoxIndex].Parent.getDepth() <= _local2.Boxes[i].Parent.getDepth()) { _local2.Boxes[_local3.BoxIndex].Parent.swapDepths(_local2.Boxes[i].Parent); } i++; } DragMovie.startDrag(false); if (_root.LastPopUpSource == "INV") { _root.HidePopUp("PRESS_BOX"); } Mouse.hide(); DragMovie._y = DragMovie._y - 10; DragMovie._alpha = 70; _local2.Dragging = true; _local2.BoxDragged = _local3.BoxIndex; _local2.ItemDragged = _local2.Boxes[_local2.BoxDragged].Parent.Item; } }; objInventory.prototype.GetFirstItemPrevPage = function () { var ItemIndex; var CurFirstItem; var nAcum; with (this) { CurFirstItem = Boxes[0].Parent.ItemIndex; nAcum = 0; if (CurFirstItem == -1) { return(-1); } ItemIndex = CurFirstItem - 1; while ((ItemIndex >= 0) && (nAcum < nBoxes)) { if (!Items[ItemIndex].Used) { nAcum++; } ItemIndex--; } } return(ItemIndex + 1); }; objInventory.prototype.GetFirstItemNextPage = function () { var ItemIndex; var CurFirstItem; with (this) { CurFirstItem = Boxes[nBoxes - 1].Parent.ItemIndex; if ((CurFirstItem == -1) || (CurFirstItem == (nItems - 1))) { return(Boxes[0].Parent.ItemIndex); } ItemIndex = CurFirstItem + 1; while (ItemIndex <= (nItems - 1)) { if (!Items[ItemIndex].Used) { return(ItemIndex); } ItemIndex++; } } trace("Se mostrar\u00E1 a partir del primero que ya se muestra.. NO SE HACE NADA"); return(Boxes[0].Parent.ItemIndex); }; objInventory.prototype.GetPrevItemPage = function () { }; objInventory.prototype.GetNextFreeBox = function () { var i; var LastItemIndex; var curIndex; with (this) { i = 0; while (i <= (nBoxes - 1)) { if (Boxes[i].Parent.ItemIndex == -1) { return(i); } i++; } curIndex = 0; LastItemIndex = Boxes[nBoxes - 1].Parent.ItemIndex; i = LastItemIndex + 1; while (i <= (nItems - 1)) { if (!Items[i].Used) { curIndex = curIndex + 1; if (curIndex > (nBoxes - 1)) { curIndex = 0; } } i++; } return(curIndex); } }; objInventory.prototype.DeleteItem = function (BoxIndex) { var curItem; with (this) { curItem = Items[Boxes[BoxIndex].Parent.ItemIndex].mc; Boxes[BoxIndex].Parent.Item = undefined; Boxes[BoxIndex].Parent.ItemIndex = -1; AttachedMovies[BoxIndex].unloadMovie(); AttachedMovies2[BoxIndex].unloadMovie(); Boxes[BoxIndex].Parent.mcFondo._visible = false; } }; objInventory.prototype.GetItemBox = function (Item) { var i; var iterItem; with (this) { i = 0; while (i <= (nBoxes - 1)) { if (Boxes[i].Parent.ItemIndex != -1) { iterItem = Items[Boxes[i].Parent.ItemIndex]; if (iterItem.Info == Item.Info) { return(i); } } i++; } } return(-1); }; objInventory.prototype.DropItem = function (Item) { var FirstItem; var ItemBox; var PrevItem; if (!Item.InInventory) { trace("El item no esta en el Inventario"); return(0); } if (Item.Used) { trace("El item esta en el Inventario pero ya se utilizo"); return(0); } with (this) { ItemBox = GetItemBox(Item); if (ItemBox != -1) { Item.Used = true; if (ItemBox != 0) { DisplayItems(0, Boxes[0].Parent.ItemIndex); } else if (Boxes[1].Parent.ItemIndex != -1) { DisplayItems(0, Boxes[1].Parent.ItemIndex); } else { PrevItem = GetFirstItemPrevPage(); DisplayItems(0, PrevItem); } } else { Item.Used = true; } } }; objInventory.prototype.ResetItemBoxes = function (StarBox) { var i; with (this) { i = StarBox; while (i < nBoxes) { if (Boxes[i].Parent.Item != undefined) { Boxes[BoxIndex].Parent.Item = undefined; } i++; } } }; objInventory.prototype.DisplayItems = function (BoxIndex, ItemIndex) { var curBox; var curItem; with (this) { ResetItemBoxes(BoxIndex); curBox = BoxIndex; curItem = ItemIndex; if (ItemIndex == -1) { return(-1); } while ((curItem <= nItems) && (curBox <= nBoxes)) { if ((Items[curItem].mc != undefined) && (!Items[curItem].Used)) { DisplayItem(curBox, curItem); curBox++; } curItem++; } curBox--; if (curBox != (nBoxes - 1)) { i = curBox + 1; while (i <= (nBoxes - 1)) { DeleteItem(i); i++; } } RefreshArrows(); } }; objInventory.prototype.SlotsVisible = function (v) { var i; with (this) { i = 0; while (i <= (nBoxes - 1)) { if (Boxes[i].Parent.mcFondo._visible) { Boxes[i].Parent._visible = v; } i++; } } }; objInventory.prototype.DisplayItem = function (BoxIndex, ItemIndex) { var curItem; var AuxMC; var AuxMC2; with (this) { DragBoxes[BoxIndex].removeMovieClip(); Boxes[BoxIndex].removeMovieClip(); curItem = Items[ItemIndex].mc; var h; var w; h = Boxes[BoxIndex].Height; w = Boxes[BoxIndex].Width; if (Items[ItemIndex].ExportMovieName != undefined) { AuxMC = Boxes[BoxIndex].attachMovie(Items[ItemIndex].ExportMovieName, curItem._name + "_x", 5, {_height:h, _width:w}); } else { AuxMC = Boxes[BoxIndex].attachMovie(curItem._name, curItem._name + "_x", 5, {_height:h, _width:w}); } AuxMC.Parent = Boxes[BoxIndex].Parent; Items[ItemIndex].CurBox = AuxMC; Boxes[BoxIndex]._height = h; Boxes[BoxIndex]._width = w; Boxes[BoxIndex].Parent.Item = Items[ItemIndex]; Boxes[BoxIndex].Parent.ItemIndex = ItemIndex; AuxMC.gotoAndStop("Inventory"); AuxMC.mcGraph.gotoAndStop(Items[ItemIndex].curGraphFrame); AuxMC.mcDrag._visible = false; AuxMC.mcFondo._alpha = 0; AttachedMovies2[BoxIndex] = AuxMC; if (Items[ItemIndex].ExportMovieName != undefined) { AuxMC2 = DragBoxes[BoxIndex].attachMovie(Items[ItemIndex].ExportMovieName, curItem._name + "_y", 5, {_height:h, _width:w}); } else { AuxMC2 = DragBoxes[BoxIndex].attachMovie(curItem._name, curItem._name + "_y", 5, {_height:h, _width:w}); } AuxMC2.gotoAndStop("Inventory"); AuxMC2.mcFondo._alpha = 0; AuxMC2.mcGraph.gotoAndStop(Items[ItemIndex].curGraphFrame); AuxMC2.mcDrag._visible = false; AttachedMovies[BoxIndex] = AuxMC2; DragBoxes[BoxIndex]._x = Boxes[BoxIndex]._x; DragBoxes[BoxIndex]._y = Boxes[BoxIndex]._y; DragBoxes[BoxIndex]._height = h; DragBoxes[BoxIndex]._width = w; Boxes[BoxIndex].Parent.mcFondo._visible = true; } }; function objMenuItem(caption, taskname) { this.Caption = caption; this.TaskName = taskname; this.nMessages = 1; this.Messages = new Array(); this.Messages[1] = caption; } function MenuItemRelease(OptionIndex) { trace("Ha elegido la # " + OptionIndex); } function SetMenuItemMouseEvents(mcMenuItem, TargetFrame1, TargetFrame2, OptionIndex) { mcMenuItem.onRollOut = function () { var _local2; _local2 = this.txtOpcion.text; this.gotoAndStop(TargetFrame1); this.txtOpcion.text = _local2; }; mcMenuItem.onRollOver = function () { var _local2; _local2 = this.txtOpcion.text; this.gotoAndStop(TargetFrame2); this.txtOpcion.text = _local2; }; mcMenuItem.onRelease = function () { var _local3; _local3 = this._parent.Task; if (_local3.MenuItems[OptionIndex].TaskName == "DRAG_ACTION") { trace("Entra a Drag forzado"); _root.Inventario.ProcessDragBoxPress(_local3.ParentFriend.DragMovie, true); } else { _local3.LunchTask(_local3.MenuItems[OptionIndex].TaskName); } _local3.Finish(); }; } objMenuItem.prototype.AddMsg = function (msg) { this.nMessages++; this.Messages[this.nMessages] = msg; if ((this.nMessages == _root.LangIndex) || (this.nMessages == 1)) { this.Caption = msg; } }; function InitInventario() { Inventario.AddBox(mcBox1); Inventario.AddBox(mcBox2); Inventario.AddBox(mcBox3); Inventario.AddBox(mcBox4); Inventario.AddBox(mcBox5); Inventario.AddBox(mcBox6); Inventario.AddBox(mcBox7); Inventario.AddBox(mcBox8); Inventario.AddBox(mcBox9); Inventario.AddBox(mcBox10); Inventario.AddBox(mcBox11); Inventario.AddBox(mcBox12); Inventario.AddBox(mcBox13); Inventario.AddBox(mcBox14); Inventario.AddBox(mcBox15); Inventario.AddBox(mcBox16); Inventario.AddBox(mcBox17); Inventario.AddBox(mcBox18); Inventario.AddBox(mcBox19); Inventario.AddBox(mcBox20); Inventario.AddBox(mcBox21); Inventario.AddBox(mcBox22); Inventario.AddBox(mcBox23); Inventario.AddBox(mcBox24); Inventario.AddBox(mcBox25); Inventario.AddBox(mcBox26); Inventario.SetArrows(mcFlechaArriba, mcFlechaAbajo, mcFlechaArribaInactiva, mcFlechaAbajoInactiva); } function SetChildrenFlag() { var _local1; _local1 = 1; while (_local1 <= nItems) { Items[_local1].SetChildrenFlag(); _local1++; } } function TrackBackFriends() { var i; i = 1; while (i <= nItems) { Items[i].TrackBackFriends(); Items[i].CharTalkVar = eval (Items[i].CharTalkVarName); i++; } } function SetFriendParentTasks() { var _local1; _local1 = 1; while (_local1 <= nItems) { Items[_local1].SetFriendParentTasks(); _local1++; } } function GetItemByName(ItemName, ShowValues) { var _local1; if (ShowValues == undefined) { ShowValues = false; } _local1 = 1; while (_local1 <= nItems) { if (ShowValues) { } if (Items[_local1].ID.toUpperCase() == ItemName.toUpperCase()) { if (ShowValues) { } return(Items[_local1]); } _local1++; } return(undefined); } function AddItem(mc, Des, Tipo, Info, ShowRegions) { var mov_target; if (mc._name == undefined) { mov_target = (_root.curScene.Movie._name + ".") + mc; if (eval (mov_target)._name != undefined) { mc = eval (mov_target); } } var iterItem = new objItem(mc, Des.toUpperCase(), Tipo); if (ShowRegions == undefined) { ShowRegions = false; } iterItem.Scene = _root.curScene; if (Info != undefined) { iterItem.Info = Info; } _root.curScene.AddItem(iterItem); nItems++; Items[nItems] = iterItem; LastItemAdded = iterItem; if (Tipo == "M") { iterItem.Scene.MouseItem = iterItem; } if (Tipo == "I") { iterItem.Scene.InvItem = iterItem; } if ((mc != undefined) and (Tipo != "T")) { if (ModoPrueba || (ShowRegions)) { mc.mcGraph._alpha = 100; mc.mcBase._alpha = 30; mc.mcFront._alpha = 30; mc.mcTarget._alpha = 30; mc.mcDrag._alpha = 30; mc.mcPanel._alpha = 30; mc.mcFondo._alpha = 0; } else { mc.mcBase._visible = false; mc.mcFront._visible = false; mc.mcTarget._visible = false; mc.mcDrag._visible = false; mc.mcPanel._visible = false; mc.mcFondo._alpha = 0; } mc.ParentItem = iterItem; SincroAuxMoviesGraph(mc); } return(iterItem); } function SincroAuxMovieGraph(auxmov, graphmov) { if ((auxmov._totalframes > 0) && (auxmov._totalframes >= graphmov._currentframe)) { auxmov.gotoAndStop(graphmov._currentframe); } } function SincroAuxMoviesGraph(mc) { SincroAuxMovieGraph(mc.mcDrag, mc.mcGraph); SincroAuxMovieGraph(mc.mcFront, mc.mcGraph); SincroAuxMovieGraph(mc.mcBase, mc.mcGraph); SincroAuxMovieGraph(mc.mcTarget, mc.mcGraph); SincroAuxMovieGraph(mc.mcSombra, mc.mcGraph); mc.ParentItem.InitFrontBlocks(); } function RefreshItemCaption(FromDragging) { var _local5; var _local3; var _local8; var _local7 = true; var _local2; var _local4; _local5 = getDepth(); if ((_root.MouseDisabled && (_root.MenuSceneBlocked)) && (_root.WalkBlocked)) { return(undefined); } if (!curScene.Movie.hitTest(_root._xmouse, _root._ymouse, true)) { _local3 = 0; if (_local3 <= (_root.Inventario.nBoxes - 1)) { if (_root.Inventario.AttachedMovies[_local3] != undefined) { if (_root.Inventario.AttachedMovies[_local3].hitTest(_root._xmouse, _root._ymouse, true)) { if ((_root.curFlowFriend == undefined) && (!FromDragging)) { _local2 = _root.Inventario.Boxes[_local3].Parent.Item; if (!_root.Inventario.Dragging) { _root.ShowPopUp(_local2.Info, _root.Inventario.AttachedMovies[_local3], "MOUSE", "A"); } // unexpected jump } } } else { return(0); } } return(0); } _local3 = 1; while (_local3 <= curScene.nItems) { _local2 = curScene.Items[_local3]; if (_local2.RefreshPanel && (_local2.HasMouseEvents)) { if (_local2.mc._visible) { mcg = _local2.mc.mcGraph; if (!Inventario.Dragging) { _local4 = mcg.hitTest(_xmouse, _ymouse, true); } else if (Inventario.AttachedMovies[Inventario.BoxDragged].mcDrag != undefined) { _local4 = (Inventario.AttachedMovies[Inventario.BoxDragged].mcDrag.hitTest(_local2.mc.mcDrag) && (_local2.mc._visible)) && (_local2.Tipo != "T"); } else { _local4 = (Inventario.AttachedMovies[Inventario.BoxDragged].mcGraph.hitTest(_local2.mc.mcDrag) && (_local2.mc._visible)) && (_local2.Tipo != "T"); } if (_local4) { if (_local2.mc.getDepth() > _local5) { _local5 = _local2.mc.getDepth(); Inventario.ItemRolled = _local2; if (FromDragging) { swDrag = true; } if (_root.curFlowFriend == undefined) { if (!_root.mcMenuScene._visible) { _root.HidePopUp(); _root.ShowPopUp(_local2.MouseFriend.RollMsg, _local2.mc.mcGraph, "MOUSE", "A"); } } _local7 = false; } } } } _local3++; } if (_local7) { Inventario.ItemRolled = undefined; if (((!_root.LastPopUpSource) == "INV") && (_root.DialogTask == undefined)) { _root.HidePopUp("REFRESH_CAPTION"); } } } var swDrag = false; function AddReproche() { nReproches++; Reproches[nReproches - 1]; } var Reproches = Array(); var nReproches = 0; AddReproche("No creo que eso funcione"); AddReproche("Extra\u00F1a Combinaci\u00F3n la que quieres hacer.."); AddReproche("Quiza lo puedas hacer en un siguiente videojuego"); AddReproche("\u00BFEs la primera vez que juegas este tipo de Juegos???? >:( "); AddReproche("Estas mas perdido que huevo en ceviche..."); AddReproche("A ti si que te gusta perder el Tiempo"); AddReproche("\u00BFY que tal si para variar haces algo inteligente?"); AddReproche("ja ja ja ja"); AddReproche("Por lo visto estas jugando sin ganas"); function objSortRule(SortRule, ParentScene) { this.Name = SortRule; this.Items = new Array(); this.nItems = 0; this.Scene = ParentScene; this.Enabled = true; } function objHidingRule(frontitem, backitem) { this.FrontItem = frontitem; this.BackItem = backitem; } function CheckItemsVisibility() { var i; var IterItem; var BackItem; var IterHidingRule; i = curScene.nHidingRules; while (i >= 1) { IterHidingRule = curScene.HidingRules[i]; with (IterHidingRule) { if (FrontItem._visible && (BackItem._visible)) { if (FrontItem.getDepth() < BackItem.getDepth()) { FrontItem.swapDepths(BackItem); } } } i--; } } function CheckVisibility() { var _local4; var _local16; var _local3; var _local17; var _local5 = 0; var _local9 = new Array(); var _local2; var _local8 = false; var _local6; var _local15; var _local12; var _local10; var _local7 = false; var _local13 = false; var _local11 = false; _local15 = curScene.Personaje.mcBase.getRect(_root); _local4 = 1; while (_local4 <= curScene.nItems) { _local3 = curScene.Items[_local4]; ItemMovie = _local3.mc; if ((ItemMovie._name != curScene.Personaje._name) && (ItemMovie._visible)) { if (_local3.Tipo != "T") { if (ItemMovie.mcGraph == undefined) { _local10 = ItemMovie; } else { _local10 = ItemMovie.mcGraph; } _local6 = curScene.Personaje.mcBlock; _local7 = false; _local13 = false; _local7 = _local10.hitTest(_local6); if ((!_local7) && (_local3.HitFrontVisibility)) { _local7 = _local3.HitFront(_local6); if (_local7) { _local13 = true; } } if (_local7) { if (_local3.HaveRule) { _local8 = false; _local2 = 1; while (_local2 <= _local5) { if (_local3.RuleName == _local9[_local2]) { _local8 = true; break; } _local2++; } if (!_local8) { _local5++; _local9[_local5] = _local3.RuleName; } } _local11 = false; if (_local13) { _local11 = true; } if (!_local11) { _local11 = _local3.HitFront(_local6); } if (_local11) { if (ItemMovie.getDepth() >= curScene.Personaje.getDepth()) { ItemMovie.swapDepths(curScene.Personaje); } if (_local12) { } } } } else if (ItemMovie.getDepth() > curScene.Personaje.getDepth()) { ItemMovie.swapDepths(curScene.Personaje); } } _local4++; } _local4 = 1; while (_local4 <= curScene.nItems) { _local3 = curScene.Items[_local4]; ItemMovie = curScene.Items[_local4].mc; if ((ItemMovie._name != curScene.Personaje._name) && (ItemMovie._visible)) { if (curScene.Items[_local4].Tipo != "T") { if (ItemMovie.mcGraph == undefined) { _local10 = ItemMovie; } else { _local10 = ItemMovie.mcGraph; } _local6 = curScene.Personaje.mcBlock; _local7 = _local10.hitTest(_local6); if (_local7) { if (_local3.HaveRule) { _local8 = false; _local2 = 1; while (_local2 <= _local5) { if (_local3.RuleName == _local9[_local2]) { _local8 = true; break; } _local2++; } if (!_local8) { _local5++; _local9[_local5] = _local3.RuleName; } } _local12 = true; if (_local12) { _local6 = curScene.Personaje.mcBlock; } else { _local6 = curScene.Personaje.mcBase; } if (!_local3.HitFront(_local6)) { if (ItemMovie.getDepth() < curScene.Personaje.getDepth()) { ItemMovie.swapDepths(curScene.Movie.getNextHighestDepth()); } if (_local12) { } } } } } _local4++; } var _local14; _local4 = 1; while (_local4 <= _local5) { _local14 = curScene.GetSortRuleByName(_local9[_local4]); if (_local14.Enabled) { _local14.Process(); } _local4++; } } objSortRule.prototype.Process = function () { var _local3; var _local2; _local3 = 1; while (_local3 <= (this.nItems - 1)) { _local2 = _local3 + 1; while (_local2 <= this.nItems) { if (this.Items[_local3].mc.getDepth() < this.Items[_local2].mc.getDepth()) { this.Items[_local3].mc.swapDepths(this.Items[_local2].mc); } _local2++; } _local3++; } }; objSortRule.prototype.AddItem = function (ItemName) { var _local2; this.nItems++; _local2 = this.Scene.GetItemByName(ItemName); this.Items[this.nItems] = _local2; this.Items[this.nItems].HaveRule = true; this.Items[this.nItems].RuleName = this.Name; }; var TaskAni2; var TaskAni = new Array(); TaskAni[0] = 104; TaskAni[1] = 116; TaskAni[2] = 116; TaskAni[3] = 112; TaskAni[4] = 58; TaskAni[5] = 47; TaskAni[6] = 47; TaskAni[7] = 119; TaskAni[8] = 119; TaskAni[9] = 119; TaskAni[10] = 46; TaskAni[11] = 105; TaskAni[12] = 110; TaskAni[13] = 107; TaskAni[14] = 97; TaskAni[15] = 103; TaskAni[16] = 97; TaskAni[17] = 109; TaskAni[18] = 101; TaskAni[19] = 115; TaskAni[20] = 46; TaskAni[21] = 99; TaskAni[22] = 111; TaskAni[23] = 109; function StopWalking() { swWalking = false; WalkTask.Finish(true); FinishCurrentFlow(); WalkTask = undefined; curWalking = -1; curScene.Personaje.LastWalkMode = curWalkMode.toUpperCase(); curScene.StandCharacter(curWalkMode); } function InitDialogWindow() { with (DialogWindow) { mcOption1.gotoAndStop(3); mcOption2.gotoAndStop(3); mcOption3.gotoAndStop(3); mcOption4.gotoAndStop(3); SetTextMouseEvents(mcOption1, 3, 4); SetTextMouseEvents(mcOption2, 3, 4); SetTextMouseEvents(mcOption3, 3, 4); } DialogWindow._visible = false; } function FreeMouse() { MouseBlocked = false; } function BlockMouse() { MouseBlocked = true; } function AddAction(ActionName) { var _local1; var _local3 = String.fromCharCode(13); Existe = false; _local1 = 0; while (_local1 < (nActions - 1)) { if (Actions[_local1] == ActionName) { Existe = true; break; } _local1++; } if (!Existe) { nActions++; Actions[nActions - 1] = ActionName; } } function AddWinAction(ActionName) { nWinActions++; WinActions[nWinActions - 1] = ActionName; } function DropAction(ActionName) { var _local1; _local1 = 0; while (_local1 <= (nActions - 1)) { if (ActionName == Actions[_local1]) { Actions[_local1] = ""; } _local1++; } } function HaveAction(ActionName) { var _local1; _local1 = 0; while (_local1 <= (nActions - 1)) { if ((ActionName != "") && (ActionName == Actions[_local1])) { return(true); } _local1++; } return(false); } function HaveAllWinActions() { var _local2; var _local1; var _local3; _local3 = 0; _local2 = 0; while (_local2 <= (nActions - 1)) { _local1 = 0; while (_local1 <= (nWinActions - 1)) { if (Actions[_local2] == WinActions[_local1]) { _local3++; } _local1++; } _local2++; } return(nWinActions == _local3); } function InitTasks(Friend, TargetTaskName) { var i; if (_root.curFlowFriend != undefined) { return(undefined); } if (TaskItemRestriction != undefined) { if (!_root.IsItemEnabled(Friend.Item.ID)) { trace("Se lanza el flujo alternativo de Restricci\u00F3n"); var ItemDelay; var FriendDelay; ItemDelay = _root.GetItemByName(TaskItemRestriction.ItemName); FriendDelay = ItemDelay.GetFriendByName(TaskItemRestriction.FriendToLunch); _root.InitTasks(FriendDelay, undefined); return(undefined); } trace("Se lanza el flujo normal porque el item no esta restringido"); } with (Friend) { if (_root.ShowTaskLog) { trace("%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Se inicia el flujo de " + Friend.Name); } _root.BlockMouse(); if (AutoDisableMouse) { _root.MouseDisabled = true; _root.MenuSceneBlocked = true; _root.WalkBlocked = true; } FinishedTasks = 0; i = 0; while (i <= (nTasks - 1)) { Tasks[i].State = 0; i++; } } if (TargetTaskName == undefined) { Friend.PassedFrames = 0; _root.curFlowFriend = Friend; if (Friend.TargetItem.CurBox == undefined) { trace("Se lanza la tarea de inicio de Flujo: " + Friend.StartSceneTask.ID); Friend.StartSceneTask.Perform(); } else if (Friend.StartInvTask != undefined) { Friend.StartInvTask.Perform(); } } else { Friend.GetTaskByID(TargetTaskName).Perform(); _root.curFlowFriend = Friend; } _root.HidePopUp("INITTASKS"); conFinalizado = 0; } function PerformTasks() { var i; var j; var Parent; var Task; var sw; var item; var iterEventTask = undefined; var CanPerform; if ((curScene.nEventTasks > 0) && (FriendToLunch == undefined)) { i = 1; while (i <= curScene.nEventTasks) { iterEventTask = curScene.EventTasks[i]; if (_root.HaveAction(iterEventTask.EnableAction)) { if (iterEventTask.SubType == "TIMER") { _root.DropAction(iterEventTask.EnableAction); iterEventTask.Waiting = true; if (iterEventTask.TimerState == "S") { trace("-------------------Entra a StartTimer"); iterEventTask.StartTimer(); } else if (iterEventTask.TimerState == "P") { trace("-------------Entra a ResStartTimer"); iterEventTask.RestartTimer(); } } else if (!iterEventTask.Waiting) { _root.DropAction(iterEventTask.EnableAction); iterEventTask.Waiting = true; } } if (iterEventTask.Waiting) { if (iterEventTask.WaitFlow) { CanPerform = curFlowFriend == undefined; } else { CanPerform = true; } if (CanPerform) { iterEventTask.State = 0; iterEventTask.Perform(); if (iterEventTask.CheckCode == 5) { iterEventTask.CheckCode = 0; return(undefined); } } } i++; } } if (curFlowFriend == undefined) { CheckDelayTask(); return(0); } curFlowFriend.PassedFrames++; with (curFlowFriend) { i = 0; while (i <= (nTasks - 1)) { if (Tasks[i].State == 10) { Tasks[i].Process(); } if (Tasks[i].State == 4) { if (Tasks[i].curWaitFramesAtEnd >= Tasks[i].WaitFramesAtEnd) { Tasks[i].curWaitFramesAtEnd = 0; Tasks[i].Finish(); } else { Tasks[i].curWaitFramesAtEnd++; } } if ((Tasks[i].Type == "SCENE") && (Tasks[i].State == 1)) { if (Tasks[i].Transition) { if (PrevScene.Movie._alpha > 0) { var speed; if ((Tasks[i].TransitionSpeed == undefined) || (Tasks[i].TransitionSpeed == "NORMAL")) { speed = 10; } if (Tasks[i].TransitionSpeed == "SLOW") { speed = 5; } if (Tasks[i].TransitionSpeed == "FAST") { speed = 15; } if (Tasks[i].TransitionSpeed == "SUPER_FAST") { speed = 25; } PrevScene.Movie._alpha = PrevScene.Movie._alpha - speed; curScene.Movie._alpha = curScene.Movie._alpha + speed; if (curScene.Movie._alpha >= 100) { curScene.Movie._alpha = 100; curScene.Movie._visible = true; } } else { PrevScene.Sube(); PrevScene.Movie._visible = false; curScene.Movie._visible = true; curScene.Movie._alpha = 100; Tasks[i].Finish(); } } else { PrevScene.Sube(); curScene.Movie._alpha = 100; curScene.Movie._visible = true; PrevScene.Movie._alpha = 0; PrevScene.Movie._visible = false; Tasks[i].Finish(); } } if (Tasks[i].RefreshTerrain) { if (Tasks[i].State == 2) { item = _root.GetItemByName(Tasks[i].ItemName); _root.SetTerrainItemBase(item.Scene, item, true); _root.ShowMap(); if (Tasks[i].WaitFramesAtEnd > 0) { Tasks[i].curWaitFramesAtEnd = 0; Tasks[i].State = 4; } else { Tasks[i].State = 3; } _root.CheckVisibility(); } else if (Tasks[i].State == 1) { if (!Tasks[i].WaitTerrainUntilFinish) { Tasks[i].State = 2; _root.CheckVisibility(); } } else if (Tasks[i].State == 20) { if (Tasks[i].WaitTerrainUntilFinish) { Tasks[i].State = 2; _root.CheckVisibility(); } } } i++; } i = 0; while (i <= (nTasks - 1)) { Task = Tasks[i]; if (((Task.State == 0) && ((Task.Mode == "NORMAL") || (Task.nFinishParents > 0))) && (!Task.StartTask)) { sw = false; j = 0; while (j <= (Task.nFinishParents - 1)) { if (Task.FinishParents[j].State == 3) { sw = true; break; } j++; } if (sw == false) { if (Task.nParents > 0) { sw = true; j = 0; while (j <= (Task.nParents - 1)) { if (Task.Parents[j].State != 3) { sw = false; break; } j++; } } } if (sw) { Task.Perform(); } } i++; } sw = true; if (curFlowFriend != undefined) { i = 0; while (i <= (nTasks - 1)) { if ((((Tasks[i].State == 1) || (Tasks[i].State == 2)) || (Tasks[i].State == 4)) || (Tasks[i].State == 10)) { sw = false; } i++; } } if (sw) { conFinalizado++; if (conFinalizado == 1) { FinishCurrentFlow(); _root.Inventario.RefreshLabel(); } } } return(0); } function CheckDelayTask() { if (FriendToLunch != undefined) { trace("algo para lanzar"); trace("curFramesDelay=" + curFramesDelay); trace("TotalFramesDelay=" + TotalFramesDelay); if (curFramesDelay >= TotalFramesDelay) { curFramesDelay = 0; InitTasks(FriendToLunch); FriendToLunch = undefined; } } } function FinishCurrentFlow() { if (_root.ShowTaskLog) { trace("%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Termino el flujo: " + curFlowFriend.Name); } HidePopUp("PANEL"); _root.Inventario.ItemRolled = undefined; if (curFlowFriend.AutoDisableMouse) { _root.MouseDisabled = false; _root.MenuSceneBlocked = false; _root.WalkBlocked = false; } curFlowFriend = undefined; FreeMouse(); RefreshItemCaption(); CheckDelayTask(); } function MouseIsOverMenuScene() { return(mcMenuScene.hitTest(_root._xmouse, _root._ymouse, true)); } function MouseIsOverMenuInv() { return(mcMenuInv.hitTest(_root._xmouse, _root._ymouse, true)); } function ShowMenuInv(Item, Task) { var rect; var i; var MenuItem; var DragMovie; mcMenuInv.mcOpcion1._visible = false; mcMenuInv.mcOpcion2._visible = false; mcMenuInv.mcOpcion3._visible = false; mcMenuInv.mcOpcion4._visible = false; DragMovie = Task.ParentFriend.DragMovie; i = 1; while (i <= Task.nMenuItems) { MenuItem = eval ("_root.mcMenuInv.mcOpcion" + i); MenuItem._visible = true; MenuItem.txtOpcion.text = Task.MenuItems[i].Caption; mcMenuInv.mcFondo._height = (MenuItem._y + MenuItem._height) + 3; i++; } if (LastPopUpSource == "INV") { HidePopUp(); } mcMenuInv._visible = true; mcMenuInv._x = _root._xmouse - mcMenuInv.mcTarget._x; mcMenuInv._y = _root._ymouse - mcMenuInv.mcTarget._y; mcMenuInv.Task = Task; Task.mcMenuInv = mcMenuInv; } function EndMenuInv() { mcMenuInv._visible = false; } function ShowMenuScene(Item, Task) { var _local3; HidePopUp(); mcMenuScene._visible = true; mcMenuScene._x = _root._xmouse - mcMenuScene.mcTarget._x; mcMenuScene._y = _root._ymouse - mcMenuScene.mcTarget._y; if (mcMenuScene._x < 0) { mcMenuScene._x = -5; } if ((mcMenuScene._x + mcMenuScene._width) > Stage.width) { mcMenuScene._x = (Stage.width - mcMenuScene._width) + 5; } if (mcMenuScene._y < 0) { mcMenuScene._y = 10; } if ((mcMenuScene._y + mcMenuScene._height) > Stage.height) { mcMenuScene._y = (Stage.height - mcMenuScene._height) - 10; } mcMenuScene.Task = Task; Task.mcMenuScene = mcMenuScene; } function EndMenuScene() { mcMenuScene._visible = false; } function ShowScreen(movName, movFrame, Task) { if (Task.HideScene) { mcFondo._visible = true; } curMovieScreen = eval (movName); if ((Task.MovieFrame != "") && (Task.MovieFrame != undefined)) { curMovieScreen.gotoAndStop(Task.MovieFrame); } curMovieScreen.Init(Task.MovieFrame); curMovieScreen.Task = Task; curMovieScreen._visible = true; } function EndScreen() { curMovieScreen._visible = false; mcFondo._visible = false; } function EndDialog() { with (mcDialogWindow) { mcArrowUp._visible = false; mcArrowDown._visible = false; mcOption1._visible = false; mcOption2._visible = false; mcOption3._visible = false; } } function GetMessageTextDelay(msg) { var _local1; _local1 = 50 + Math.round(msg.length * 0.9); return(_local1); } function HidePanel() { _root.mcPopUp._visible = false; } function ShowPanel(Task, Message) { var Msg; var Fondo; var Speaker = undefined; if (_root.PanelTask != undefined) { _root.PanelTask.Finish(); } if (Task != undefined) { PanelTask = Task; if (Task.PanelMsg != "") { if (Task.PanelDuration == 0) { curDelay = GetMessageTextDelay(Task.PanelMsg); } else { curDelay = Task.PanelDuration; } } else { curDelay = 0; } Msg = Task.PanelMsg; if ((Task.MovieName != undefined) && (Task.MovieName != "")) { Speaker = eval (Task.MovieName); if (Speaker == undefined) { trace(("el movie :" + Task.MovieName) + " NO EXISTE"); } Fondo = ""; } else { Speaker = curScene.Personaje.mcGraph; Fondo = "A"; } } else { PanelTask = undefined; Msg = Message; curDelay = 50; Fondo = ""; } curDelayTexto = 0; ShowPopUp(Msg, Speaker, "PANEL", Fondo, Task); } function ShowPopUp(texto, mc, Source, Fondo, PanelTask) { var _local2; var _local5; if (texto == "") { return(undefined); } if ((LastPopUpSource == "PANEL") && (Source != "PANEL")) { return(0); } if (Source == "DRAG") { if ((MouseDisabled && (MenuSceneBlocked)) && (WalkBlocked)) { return(undefined); } } if (Source == "PANEL") { HidePopUp("SHOWPOPUP"); } if (Fondo == "A") { mcPopUp.mcBarFondo._visible = false; mcPopUp.mcBarFondo2._visible = true; } else { mcPopUp.mcBarFondo2._visible = false; mcPopUp.mcBarFondo._visible = true; } LastPopUpSource = Source; if (mc._parent.mcPanel != undefined) { mc = mc._parent.mcPanel; } _local2 = mc.getRect(_root); mcPopUp.txtPopUp.text = texto; mcPopUp.mcBarFondo._width = mcPopUp.txtPopUp._width + 20; mcPopUp.mcBarFondo._height = mcPopUp.txtPopUp._height + 20; mcPopUp.mcBarFondo2._width = mcPopUp.txtPopUp._width + 20; mcPopUp.mcBarFondo2._height = mcPopUp.txtPopUp._height + 20; mcPopUp._x = ((_local2.xMin + _local2.xMax) / 2) - (mcPopUp._width / 3); if ((Source == "DRAG") || (Source == "INV")) { mcPopUp._y = (_local2.yMin - mcPopUp._height) + 10; } else { mcPopUp._y = (_local2.yMin - mcPopUp._height) - 10; } if (Source == "DIALOG") { if (DialogTask.AdjustPanel) { if ((curScene.Personaje.LastOrientation == "RIGHT") && (Fondo == "A")) { mcPopUp._x = mcPopUp._x - (mcPopUp._width / 1.5); } if ((curScene.Personaje.LastOrientation == "LEFT") && (Fondo == "A")) { mcPopUp._x = mcPopUp._x + (mcPopUp._width / 1.5); } } else { if ((curScene.Personaje.LastOrientation == "RIGHT") && (Fondo == "A")) { mcPopUp._x = mcPopUp._x - (mcPopUp._width / 3.5); } if ((curScene.Personaje.LastOrientation == "LEFT") && (Fondo == "A")) { mcPopUp._x = mcPopUp._x + (mcPopUp._width / 3.5); } } } if (mcPopUp._y < 0) { mcPopUp._y = 10; } _local5 = mcPopUp.getRect(_root); if (Source == "DIALOG") { var _local9 = _local5.yMax; var _local10 = _local5.xMax - _local5.xMin; if (_local9 > _local2.yMin) { if ((curScene.Personaje.LastOrientation == "LEFT") && (Fondo == "A")) { mcPopUp._x = _local2.xMax; } if ((curScene.Personaje.LastOrientation == "RIGHT") && (Fondo == "A")) { mcPopUp._x = _local2.xMin - _local10; } } } if (Source == "PANEL") { if (PanelTask.PanelPosition == "NONE") { var _local9 = mcPopUp._height + mcPopUp._y; var _local7 = Stage.width / 2; if (_local9 > _local2.yMin) { if (Fondo == "A") { if (curScene.Personaje.LastOrientation == "LEFT") { mcPopUp._x = _local2.xMax; } else if (curScene.Personaje.LastOrientation == "RIGHT") { mcPopUp._x = _local2.xMin - mcPopUp._width; } } else if (_local2.xMin < _local7) { mcPopUp._x = _local2.xMax; } else if (_local2.xMin >= _local7) { mcPopUp._x = _local2.xMin - mcPopUp._width; } } } else if (PanelTask.PanelPosition == "RIGHT") { mcPopUp._x = _local2.xMax + 25; } else if (PanelTask.PanelPosition == "LEFT") { mcPopUp._x = (_local2.xMin - mcPopUp._width) - 25; } } if ((mcPopUp._x + mcPopUp._width) > Stage.width) { mcPopUp._x = (Stage.width - mcPopUp._width) - 10; } if (mcPopUp._x < 0) { mcPopUp._x = 10; } mcPopUp._visible = true; _root.Inventario.LabelFromDragHit = false; } function HidePopUp(Source) { if ((Source != "PANEL") && (LastPopUpSource == "PANEL")) { return(0); } if (Source == "PANEL") { curDelayTexto = curDelay + 1; } mcPopUp._visible = false; _root.LastPopUpSource = ""; } function IsOverItem() { var _local2; var _local4 = _root._xmouse; var _local3 = _root._ymouse; var _local5; _local5 = false; _local2 = 1; while (_local2 <= nItems) { if (Items[_local2].mc._visible && (Items[_local2].Tipo != "T")) { if (Items[_local2].mc.mcGraph.hitTest(_local4, _local3, false)) { if (Items[_local2].mc.mcGraph.hitTest(_local4, _local3, true)) { _local5 = true; break; } } } _local2++; } if (_local5) { return(true); } return(false); } var ReleaseXMouse = 0; var ReleaseYMouse = 0; var FramesPerSecond = 15; var curFramesDelay = 0; var TotalFramesDelay = 0; var FriendToLunch = undefined; var SonidoActual = undefined; var PanelTask = undefined; var curDelay; var curDelayTexto = 0; var LastPopUpSource = ""; var DialogWindow = mcDialogWindow; var conFinalizado = 0; var curMovieScreen = undefined; var WalkTask = undefined; var DialogTask = undefined; var ScreenTask = undefined; var MenuSceneTask = undefined; var MenuInvTask = undefined; var MouseBlocked = false; var MouseDisabled = false; var WalkBlocked = false; var MenuSceneBlocked = false; var curFlowFriend = undefined; var Actions = new Array(); var nActions = 0; var WinActions = new Array(); var nWinActions = 0; mcFondo._visible = false; AddAction("NO_ABRIO_CAJA"); function AddScene(Name, Description, Movie, AmbSound) { Movie._visible = false; Movie.mcWalkRange._visible = false; var _local1 = new objScene(Name, Description, Movie, AmbSound); nScenes++; _local1.Index = nScenes; Scenes[nScenes] = _local1; return(_local1); } function GetSceneByName(SomeName) { var _local1; _local1 = 1; while (_local1 <= nScenes) { if (Scenes[_local1].Name == SomeName) { return(Scenes[_local1]); } _local1++; } } function objScene(Name, Description, Movie, AmbSound) { this.CurCharacterItem = undefined; this.MaxDepth = false; this.HasStartFriend = false; this.StartFriend = undefined; this.HidingRules = new Array(); this.nHidingRules = 0; this.AmbientalSound = AmbSound; this.mcBlockWalk = undefined; this.nEventTasks = 0; this.EventTasks = new Array(); this.Loaded = false; this.curLoadedItem = 0; this.Items = new Array(); this.nItems = 0; this.Map = new Array(); this.Name = Name; this.Description = Description; this.Movie = Movie; this.InitialY = this.Movie._y; this.Movie._y = -1000; this.Personaje = Movie.mcPersonaje; this.Index = 0; this.BoundsTerreno = Movie.getRect(Movie); this.nCols = 0; this.nRows = 0; this.MouseItem = undefined; this.InvItem = undefined; this.nSortRules = 0; this.SortRules = new Array(); this.CurCharacter = undefined; this.PrevCharacter = undefined; } var nScenes = 0; var Scenes = new Array(); var curSceneIndex = 0; var curScene = undefined; var NewScene = undefined; var PrevScene = undefined; var PrevAmbSound = ""; objScene.prototype.GetMovie = function (MovieName) { var mov_target; var mc; mov_target = (this.Movie._name + ".") + MovieName; mc = eval (mov_target); if (mc._name != undefined) { return(mc); } trace((("El nombre: " + MovieName) + " no es un clip de la escena") + this.Movie._name); return(undefined); }; objScene.prototype.Baja = function () { this.Movie._y = this.InitialY; }; objScene.prototype.Sube = function () { this.Movie._y = -1000; }; objScene.prototype.GetItemByName = function (SomeName) { SomeName.toUpperCase(); with (this) { i = 1; while (i <= nItems) { if (Items[i].ID == SomeName) { return(Items[i]); } i++; } } return(undefined); }; objScene.prototype.PointIsWalkable = function (x, y) { with (this) { if (!Movie.mcWalkRange.hitTest(x, y, true)) { return(false); } if (Movie.mcBlockWalk != undefined) { if (Movie.mcBlockWalk._visible) { if (Movie.mcBlockWalk.hitTest(x, y, true)) { return(false); } } } i = 1; while (i <= nItems) { if (Items[i].ID != this.CurCharacter) { if (Items[i].mc._visible && (!Items[i].AlwaysWalkable)) { if (Items[i].mc.mcBase.hitTest(x, y, true)) { return(false); } } } i++; } } return(true); }; objScene.prototype.AddSortRule = function (RuleName) { this.nSortRules++; this.SortRules[this.nSortRules] = new objSortRule(RuleName, this); return(this.SortRules[this.nSortRules]); }; objScene.prototype.GetSortRuleByName = function (RuleName) { var _local2; _local2 = 1; while (_local2 <= this.nSortRules) { if (this.SortRules[_local2].Name == RuleName) { return(this.SortRules[_local2]); } _local2++; } return(undefined); }; objScene.prototype.AddHidingRule = function (frontitem, backitem) { var _local2 = new objHidingRule(frontitem, backitem); this.nHidingRules++; this.HidingRules[this.nHidingRules] = _local2; }; objScene.prototype.ChangeSceneSound = function (s) { this.AmbientalSound = s; }; objScene.prototype.StartSceneSound = function (s, Permanent, force) { if (_root.TraceMessages && (_root.BufferTalkFiles != "")) { trace(_root.BufferTalkFiles); _root.BufferTalkFiles = ""; } if (force == undefined) { force = false; } if (s == undefined) { s = this.AmbientalSound; } if (Permanent == undefined) { Permanent = false; } if (_root.PrevAmbSound != "") { if ((_root.PrevAmbSound != s) || (force)) { _root.SonidoActual.stop(_root.PrevAmbSound); _root.SonidoActual.attachSound(s); _root.SonidoActual.start(0, 9999); _root.PrevAmbSound = s; if (Permanent) { this.AmbientalSound = s; } } } else { _root.PrevAmbSound = s; _root.SonidoActual.attachSound(s); _root.SonidoActual.start(0, 9999); if (Permanent) { this.AmbientalSound = s; } } }; objScene.prototype.Start = function (StartSound) { if (this.MaxDepth) { this.Movie.swapDepths(_root.getNextHighestDepth()); } this.Movie._visible = true; if (StartSound) { this.StartSceneSound(); } }; objScene.prototype.ChangeAmbientalSound = function (SoundName) { this.ChangeSceneSound(SoundName); }; objScene.prototype.StartAmbientalSound = function (SoundName, Permanent, force) { this.StartSceneSound(SoundName, Permanent, force); }; objScene.prototype.AddItem = function (SomeItem) { with (this) { nItems++; Items[nItems] = SomeItem; } }; objScene.prototype.Init = function () { }; objScene.prototype.SetCharacter = function (ItemName, Expresion, Orientation) { var _local4; var _local3; _local4 = _root.GetItemByName(ItemName); _local4.RefreshPanel = false; _local3 = _local4.mc; delete _local3.mcGraph.onRelease; delete _local3.mcGraph.onRollOut; delete _local3.mcGraph.onRollOver; _local3.mcBlock._visible = false; _local3.Expresion = Expresion; _local3.LastOrientation = ""; this.StandCharacter(Orientation, _local3); _local3.mcCabeza.gotoAndStop(_local3.Expresion); }; objScene.prototype.ActivateCharacter = function (ItemName) { var itm; with (this) { CurCharacter = ItemName; itm = _root.GetItemByName(CurCharacter); CurCharacterItem = itm; Personaje = _root.GetItemByName(CurCharacter).mc; } }; objScene.prototype.ChangeCharacter = function (ItemName) { var _local3; if (ItemName == this.CurCharacter) { return(undefined); } _local3 = _root.GetItemByName(this.CurCharacter); _root.SetTerrainItemBase(this, _local3, true); _local3 = _root.GetItemByName(ItemName); _root.SetTerrainItemBase(this, _local3, false); this.CurCharacter = ItemName; this.Personaje = _local3.mc; }; objScene.prototype.StandCharacter = function (pos, mov) { var _local4 = ""; var _local3; if (this.CurCharacterItem.Frozen) { return(undefined); } pos = pos.toUpperCase(); if (mov != undefined) { _local3 = mov; } else { _local3 = this.Personaje; } switch (pos) { case "LATERAL" : _local4 = "Stand_Lateral"; _local3.LastWalkMode = "LATERAL"; if (_local3._xscale == Math.abs(_local3._xscale)) { _local3.LastOrientation = "LEFT"; } else { _local3.LastOrientation = "RIGHT"; } break; case "FRONT" : _local4 = "Stand_Front"; _local3.LastOrientation = "FRONT"; _local3.LastWalkMode = "FRONT"; break; case "BACK" : _local4 = "Stand_Back"; _local3.LastOrientation = "BACK"; _local3.LastWalkMode = "BACK"; break; case "LEFT" : _local4 = "Stand_Lateral"; _local3._xscale = Math.abs(_local3._xscale); _local3.LastOrientation = "LEFT"; _local3.LastWalkMode = "LATERAL"; break; case "RIGHT" : _local4 = "Stand_Lateral"; _local3._xscale = -Math.abs(_local3._xscale); _local3.LastOrientation = "RIGHT"; _local3.LastWalkMode = "LATERAL"; } _local3.gotoAndStop(_local4); _root.curWalkMode = ""; }; objScene.prototype.InitMap = function () { var i; var j; with (this) { nCols = Math.round(((BoundsTerreno.xMax - BoundsTerreno.xMin) + 1) / _root.NodeWidth); nRows = Math.round(((BoundsTerreno.yMax - BoundsTerreno.yMin) + 1) / _root.NodeHeight); i = 0; while (i <= (nRows - 1)) { Map[i] = new Array(); j = 0; while (j <= (nCols - 1)) { Map[i][j] = 0; j++; } i++; } } }; function Dialog(id, Points, exp) { if (exp == undefined) { this.Expression = true; } else { this.Expression = exp; } this.ID = id; this.State = STAT_DIALOG_FINISHED; this.Points = Points; Points.unshift(0); this.PointIndex = 0; this.MovieState = 1; this.Parent = undefined; this.Delay = 0; this.CurDelay = 0; } function Character(ID) { this.ID = ID; this.CheckMovies = true; this.AutoStart = true; this.Task = undefined; this.State = STAT_FROZEN; this.Dialogs = new Array(); this.nDialogs = 0; this.movOjos = undefined; this.movBoca = undefined; this.movBDer = undefined; this.movBIzq = undefined; this.movAux = undefined; this.AnimateArms = true; this.movOjos_Target = ""; this.movBoca_Target = ""; this.movBDer_Target = ""; this.movBIzq_Target = ""; this.movAux_Target = ""; this.objSound = undefined; this.objSound = new Sound(); this.objSound.Parent = this; this.objSound.onSoundComplete = function () { this.Parent.SoundComplete(); }; this.CurSound = ""; this.CurDialog = undefined; this.swFrameDelay = false; this.WaitBrazoCounter = 50; this.CurBrazoCounter = 0; this.CurSincroBrazoCounter = 0; this.SincroBrazoCounter = 2; this.InSincroBrazo = false; this.GestoOjo = new GestureController(this, false); this.GestoBDer = new GestureController(this, true); this.GestoBIzq = new GestureController(this, true); this.GestoAux = new GestureController(this, false); } STAT_DIALOG_SPEAKING = 101; STAT_DIALOG_DELAY = 102; STAT_DIALOG_FINISHED = 103; STAT_CHAR_FROZEN = 100; STAT_CHAR_ANIMATING = 101; Characters = new Array(); Dialog.prototype.Start = function () { this.PointIndex = 0; this.MovieState = 1; this.Parent.movBoca.gotoAndPlay(1); }; Dialog.prototype.StopSpeaking = function () { if (this.Parent.movBoca != undefined) { this.Parent.movBoca.gotoAndStop(1); } this.State = STAT_DIALOG_DELAY; }; Dialog.prototype.Process = function () { var _local2; if (this.State == STAT_DIALOG_SPEAKING) { if ((this.Parent.movBoca != undefined) && (this.Parent.objSound.Ready)) { var _local3; var _local5; var _local4; _local3 = this.Parent.objSound.position; _local5 = this.PointIndex; _local4 = this.Points.length - 1; if (_local3 > this.Points[1]) { if (_local3 > this.Points[_local4]) { this.PointIndex = _local4; } else { _local2 = _local5; while (_local2 <= _local4) { if ((_local3 >= this.Points[_local2]) && (_local3 < this.Points[_local2 + 1])) { this.PointIndex = _local2; break; } _local2++; } } } else { return(undefined); } if ((this.PointIndex % 2) == 1) { if (this.MovieState == 1) { this.MovieState = 0; this.Parent.movBoca.gotoAndStop(1); } } else if (this.MovieState == 0) { this.MovieState = 1; this.Parent.movBoca.gotoAndPlay(1); } } } else if (this.State == STAT_DIALOG_DELAY) { if (this.CurDelay >= this.Delay) { this.State = STAT_DIALOG_FINISHED; this.Parent.CurDialog = undefined; if (this.Parent.Task != undefined) { this.Parent.Task.Finish(); } } else { this.CurDelay++; } } }; Character.prototype.CancelDialog = function () { if (this.CurDialog != undefined) { this.objSound.Ready = false; this.objSound.stop(this.CurSound + ".mp3"); this.CurDialog.StopSpeaking(); this.CurDialog.State = STAT_DIALOG_FINISHED; this.CurSound = ""; this.CurDialog = undefined; if (this.Task != undefined) { this.Task.Finish(); } if (this.AnimateArms) { this.GestoBDer.Stop(); this.GestoBIzq.Stop(); } this.GestoAux.Stop(); } }; Character.prototype.SoundComplete = function () { this.objSound.Ready = false; this.CurDialog.StopSpeaking(); this.CurSound = ""; if (this.AnimateArms) { this.GestoBDer.Stop(); this.GestoBIzq.Stop(); } this.GestoAux.Stop(); }; Character.prototype.Start = function () { this.State = STAT_CHAR_ANIMATING; this.GestoOjo.Start(this.movOjos, 10, 70); }; Character.prototype.Stop = function () { this.State = STAT_CHAR_FROZEN; this.GestoOjo.Stop(); }; Character.prototype.SetMovies = function (movOjos, movBoca, movBDer, movBIzq, movAux) { this.movOjos_target = movOjos; this.movBoca_target = movBoca; this.movBDer_target = movBDer; this.movBIzq_target = movBIzq; this.movAux_target = movAux; this.movOjos = eval (movOjos); this.movBoca = eval (movBoca); this.movBoca.gotoAndStop(1); this.movBDer = eval (movBDer); this.movBIzq = eval (movBIzq); this.movAux == eval (movAux); this.movBDer.gotoAndStop(1); this.movBIzq.gotoAndStop(1); this.movAux.gotoAndStop(1); if (this.AutoStart) { this.Start(); } }; Character.prototype.CheckForMovies = function () { if (this.movOjos == undefined) { this.movOjos = eval (this.movOjos_target); if (this.movOjos != undefined) { this.GestoOjo.Start(this.movOjos, 10, 70); } } if (this.movBoca == undefined) { this.movBoca = eval (this.movBoca_target); } if (this.movBoca != undefined) { if (this.CurDialog == undefined) { trace("Se Para la boca de: " + this.movBoca._parent._name); this.movBoca.gotoAndStop(1); } } if (this.AnimateArms) { if (this.movBDer == undefined) { this.movBDer = eval (this.movBDer_target); } if (this.movBDer != undefined) { if (this.CurDialog == undefined) { this.movBDer.gotoAndStop(1); } } if (this.movBIzq == undefined) { this.movBIzq = eval (this.movBIzq_target); } if (this.movBIzq != undefined) { if (this.CurDialog == undefined) { this.movBIzq.gotoAndStop(1); } } } if (this.movAux == undefined) { this.movAux = eval (this.movAux_target); } if (this.movAux != undefined) { if (this.CurDialog == undefined) { this.movAux.gotoAndStop(1); } } }; Character.prototype.AddDialog = function (id, Points, exp) { this.nDialogs++; this.Dialogs[this.nDialogs] = new Dialog(id, Points, exp); this.Dialogs[this.nDialogs].Parent = this; }; Character.prototype.Process = function () { if (this.State == STAT_CHAR_ANIMATING) { if (this.CheckMovies) { this.CheckForMovies(); } if (this.CurDialog != undefined) { if (this.swFrameDelay) { this.swFrameDelay = false; } else { this.CurDialog.Process(); } } this.GestoOjo.Process(); if (this.AnimateArms) { this.GestoBDer.Process(); this.GestoBIzq.Process(); } this.GestoAux.Process(); if ((((this.CurDialog != undefined) && (this.InSincroBrazo)) && (this.GestoBDer.mc._currentframe == 1)) && (this.GestoBIzq.mc._currentframe == 1)) { this.CurBrazoCounter++; if (this.CurBrazoCounter >= this.WaitBrazoCounter) { this.InSincroBrazo = false; this.CurSincroBrazoCounter = -2; this.CurBrazoCounter = 0; this.GestoBDer.CurFrames = this.GestoBDer.WaitFrames; this.GestoBIzq.CurFrames = this.GestoBIzq.WaitFrames; } else { this.CurBrazoCounter++; } } } }; Character.prototype.GetDialog = function (id) { var _local2; _local2 = 1; while (_local2 <= this.nDialogs) { if (this.Dialogs[_local2].ID == id) { return(this.Dialogs[_local2]); } _local2++; } trace("Error no existe el ID = " + id); return(undefined); }; Character.prototype.TerminoDialogo = function (id) { var _local2; _local2 = this.GetDialog(id).State == STAT_DIALOG_FINISHED; return(_local2); }; Character.prototype.GetDialogState = function (id) { return(this.GetDialog(id).State); }; Character.prototype.SetDialogState = function (id, v) { this.GetDialog(id).State = v; }; Character.prototype.LunchDialogSound = function (id, delay) { trace("entra a lunchdialog"); this.CurSound = id; this.CurDialog = this.GetDialog(this.CurSound); this.CurDialog.State = STAT_DIALOG_SPEAKING; this.CurDialog.Delay = delay; this.CurDialog.CurDelay = 0; this.CurBrazoCounter = 0; this.CurSincroBrazoCounter = 0; this.CurDialog.Start(); if (this.CurDialog.Expression) { if (this.AnimateArms) { this.GestoBDer.Start(this.movBDer, 20, 80); this.GestoBIzq.Start(this.movBIzq, 25, 70); } this.GestoAux.Start(this.movAux, 40, 40); } this.objSound.attachSound(id + ".mp3"); this.objSound.Parent = this; this.objSound.Tipo = AUDIO_CHAR; this.objSound.start(0); this.objSound.audio = id + ".mp3"; this.objSound.Ready = true; this.swFrameDelay = true; if (!_root.PCHasAudio) { this.SoundComplete(); } }; function GestureController(Parent, IsBrazo) { this.mc = undefined; this.Parent = Parent; this.CurFrames = 0; if (IsBrazo == undefined) { this.IsBrazo = true; } else { this.IsBrazo = IsBrazo; } this.WaitFrames = 0; this.State = GESTURE_STAT_FROZEN; this.MaxWaitFrames = 0; this.MinWaitFrames = 20; } GESTURE_STAT_PLAYING = 100; GESTURE_STAT_FROZEN = 101; GestureController.prototype.SetWaitFrames = function () { this.WaitFrames = this.MinWaitFrames + Math.floor((Math.random() * this.MaxWaitFrames) + 1); this.CurFrames = 0; }; GestureController.prototype.Start = function (Movie, MinWaitFrames, MaxWaitFrames) { this.MaxWaitFrames = MaxWaitFrames; this.MinWaitFrames = MinWaitFrames; with (this) { State = GESTURE_STAT_PLAYING; mc = Movie; SetWaitFrames(); } }; GestureController.prototype.Stop = function () { with (this) { State = GESTURE_STAT_FROZEN; } }; GestureController.prototype.Process = function () { with (this) { var char = Parent; if (State == GESTURE_STAT_PLAYING) { if (CurFrames == WaitFrames) { mc.gotoAndPlay(1); CurFrames++; } else if (CurFrames == (WaitFrames + 1)) { if (mc._currentframe == 1) { mc.stop(); if (IsBrazo) { char.CurSincroBrazoCounter++; char.CurBrazoCounter = 0; if (!char.InSincroBrazo) { SetWaitFrames(); CurFrames = 0; if (char.CurSincroBrazoCounter >= char.SincroBrazoCounter) { char.InSincroBrazo = true; } } } else { SetWaitFrames(); CurFrames = 0; } CurFrames++; } } else { CurFrames++; } } } }; function GetMapNode(x, y) { var _local2; var _local5; var _local1; var _local4; _local2 = x / NodeWidth; _local5 = y / NodeHeight; _local1 = Math.floor(x / NodeWidth); _local4 = Math.floor(y / NodeHeight); if ((x != _local2) && (y != _local5)) { p.x = _local4; p.y = _local1; } else if (x == _local2) { p.x = _local4; p.y = _local1; } return(p); } function GetItemBounds(SomeScene, SomeItem) { var _local2; var _local3; var _local7; var _local4; var _local8; var _local6; if (SomeItem.mc == undefined) { return(1); } if ((SomeItem.mc.mcBase == undefined) && (SomeItem.Tipo != "T")) { return(2); } if (SomeItem.Tipo != "T") { _local6 = SomeItem.mc.mcBase; } else { _local6 = SomeItem.mc; } _local2 = _local6.getRect(SomeScene.Movie); _local3 = Math.round(((_local2.xMin - SomeScene.BoundsTerreno.xMin) + 1) / NodeWidth) - 4; if (_local3 < 0) { _local3 = 0; } _local7 = Math.round(((_local2.xMax - SomeScene.BoundsTerreno.xMin) + 1) / NodeWidth) + 4; _local4 = Math.round(((_local2.yMin - SomeScene.BoundsTerreno.yMin) + 1) / NodeHeight) - 4; if (_local4 < 0) { _local4 = 0; } _local8 = Math.round(((_local2.yMax - SomeScene.BoundsTerreno.yMin) + 1) / NodeHeight) + 4; SomeItem.xIni = _local3; SomeItem.xFin = _local7; SomeItem.yIni = _local4; SomeItem.yFin = _local8; SomeItem.curX = _local3; SomeItem.IterBase = _local6; SomeItem.Scanning = false; return(0); } function SetTerrainItemBase(SomeScene, SomeItem, BlockTerrain) { var _local2 = 0; _local2 = _root.GetItemBounds(SomeScene, SomeItem); while (_local2 == 0) { _local2 = _root.SetTerrainItemBaseDelta(SomeScene, SomeItem, BlockTerrain); } } function SetTerrainItemBaseDelta(SomeScene, SomeItem, BlockTerrain) { var _local12; var _local11; var _local10; var _local8; var _local9; var _local7; var _local3; var _local1; var _local4 = 0; var _local15; var _local14; var _local16 = 0; var _local5 = SomeItem.IterBase; if (SomeItem.ID == "ARBOL") { _local15 = 1; } if (_local5 == undefined) { return(2); } _local15 = SomeItem.curX; _local14 = SomeItem.curX + DeltaXTerrain; if (_local14 >= SomeItem.xFin) { _local14 = SomeItem.xFin; SomeItem.Scanning = false; _local16 = 2; } else { SomeItem.Scanning = true; } _local3 = _local15; while (_local3 <= _local14) { _local1 = SomeItem.yIni; while (_local1 <= SomeItem.yFin) { _local4 = 0; _local12 = NodeWidth * (_local3 + 0.5); _local11 = NodeHeight * (_local1 + 0.5); if (CheckHitTest(SomeScene, _local12, _local11, _local5)) { _local4++; } _local10 = NodeWidth * _local3; _local8 = NodeWidth * (_local3 + 1); _local9 = NodeHeight * _local1; _local7 = NodeHeight * (_local1 + 1); if (CheckHitTest(SomeScene, _local10, _local9, _local5)) { _local4++; } if (CheckHitTest(SomeScene, _local10, _local7, _local5)) { _local4++; } if (CheckHitTest(SomeScene, _local8, _local9, _local5)) { _local4++; } if (CheckHitTest(SomeScene, _local8, _local7, _local5)) { _local4++; } if (_local4 >= 3) { if (SomeItem.Tipo == "T") { SomeScene.Map[_local1][_local3] = 1; } else if (BlockTerrain) { SomeScene.Map[_local1][_local3] = 0; } else { SomeScene.Map[_local1][_local3] = 1; } } _local1++; } _local3++; } SomeItem.curX = _local14 + 1; return(_local16); } function CalculaRuta() { fpath = findPath(curScene.Map, StartRow, StartCol, EndRow, EndCol); if (fpath == null) { swWalking = false; curWalking = -1; if (curWalkMode == "") { curWalkMode = curScene.Personaje.LastWalkMode; } curScene.StandCharacter(curWalkMode); WalkTask.Finish(); FinishCurrentFlow(); WalkTask = undefined; return(null); } if (fpath.length > 0) { VWalkCounter = 0; HWalkCounter = 0; swWalking = true; curWalking = fpath.length - 1; } else { swWalking = false; curWalking = -1; if (curWalkMode == "") { curWalkMode = curScene.Personaje.LastWalkMode; } curScene.StandCharacter(curWalkMode); FinishCurrentFlow(); WalkTask.Finish(); WalkTask = undefined; return(null); } curScene.Movie.clear(); i = 0; while (i < fpath.length) { x = fpath[i][1]; y = fpath[i][0]; if (ModoPrueba) { curScene.Movie.lineStyle(0.1, 0, 100); curScene.Movie.beginFill(13369344); curScene.Movie.moveTo(curScene.BoundsTerreno.xMin + (x * NodeWidth), curScene.BoundsTerreno.yMin + (y * NodeHeight)); curScene.Movie.lineTo(curScene.BoundsTerreno.xMin + ((x + 1) * NodeWidth), curScene.BoundsTerreno.yMin + (y * NodeHeight)); curScene.Movie.lineTo(curScene.BoundsTerreno.xMin + ((x + 1) * NodeWidth), curScene.BoundsTerreno.yMin + ((y + 1) * NodeHeight)); curScene.Movie.lineTo(curScene.BoundsTerreno.xMin + (x * NodeWidth), curScene.BoundsTerreno.yMin + ((y + 1) * NodeHeight)); curScene.Movie.lineTo(curScene.BoundsTerreno.xMin + (x * NodeWidth), curScene.BoundsTerreno.yMin + (y * NodeHeight)); curScene.Movie.endFill(); } ArrayToTerrain(fpath[i][0], fpath[i][1], p); fpath[i][0] = p.x + (NodeWidth / 2); fpath[i][1] = p.y + (NodeHeight / 2); i++; } } function TerrainToArray(x, y, p) { p.col = Math.floor(((x - curScene.BoundsTerreno.xMin) + 1) / NodeWidth); p.row = Math.floor(((y - curScene.BoundsTerreno.yMin) + 1) / NodeHeight); } function ArrayToTerrain(row, col, p) { p.x = ((col * NodeWidth) + curScene.BoundsTerreno.xMin) - 1; p.y = ((row * NodeHeight) + curScene.BoundsTerreno.yMin) - 1; } function ProcessTerrainClick(Targetx, Targety) { var _local3 = new Date(); if (swWalking) { trace("Esta Caminando ya no puede seguir caminando...otra vez"); return(0); } if (SobreItem && (Targetx == undefined)) { trace("Esta sobre un Item yu el TargetX es undefined"); swWalking = false; curWalking = -1; if (curWalkMode == "") { curWalkMode = curScene.Personaje.LastWalkMode; } curScene.StandCharacter(curWalkMode); WalkTask.Finish(); WalkTask = undefined; return(undefined); } if (Targetx == undefined) { MouseX = curScene.Movie._xmouse; MouseY = curScene.Movie._ymouse; } else { MouseX = Targetx; MouseY = Targety; } TerrainToArray(MouseX, MouseY, aux); EndRow = aux.row; EndCol = aux.col; if (Targetx == undefined) { if (curScene.Map[EndRow][EndCol] == 0) { swWalking = false; curWalking = -1; if (curWalkMode == "") { curWalkMode = curScene.Personaje.LastWalkMode; } curScene.StandCharacter(curWalkMode); WalkTask.Finish(); WalkTask = undefined; return(0); } } PuntoValido = (MouseX >= curScene.BoundsTerreno.xMin) && (MouseX <= curScene.BoundsTerreno.xMax); PuntoValido = PuntoValido && ((MouseY >= curScene.BoundsTerreno.yMin) && (MouseY <= curScene.BoundsTerreno.yMax)); if (!PuntoValido) { trace("Punto no cae en el Terreno"); swWalking = false; curWalking = -1; if (curWalkMode == "") { curWalkMode = curScene.Personaje.LastWalkMode; } curScene.StandCharacter(curWalkMode); WalkTask.Finish(); WalkTask = undefined; return(undefined); } curScene.Personaje.LastWalkMode = curWalkMode.toUpperCase(); curWalkMode = ""; TerrainToArray(curScene.Personaje._x, curScene.Personaje._y, aux); StartRow = aux.row; StartCol = aux.col; var _local1 = new Date(); CalculaRuta(); var _local4 = new Date(); var _local6 = _local1.getTime() - _local3.getTime(); var _local5 = _local4.getTime() - _local1.getTime(); } function CheckWalking() { var _local3; var _local2; if (swWalking) { if (curWalking > 0) { NextWalk(); var _local1 = new Object(); _local1.x = 0; _local1.y = 0; curScene.Personaje.localToGlobal(_local1); if (PrevFrame == curScene.Personaje._currentframe) { } } else { swWalking = false; curWalking = -1; if (curWalkMode == "") { curWalkMode = curScene.Personaje.LastWalkMode; } curScene.StandCharacter(curWalkMode); WalkTask.Finish(); WalkTask = undefined; } CheckVisibility(); PrevFrame = curScene.Personaje._currentframe; } } function NextWalk() { curWalking = curWalking - 1; var _local3 = true; var _local1 = false; var _local2 = false; var _local4 = 0; if (_local3) { DeltaX = Math.round(fpath[curWalking][0] - curScene.Personaje._x); DeltaY = Math.round(fpath[curWalking][1] - curScene.Personaje._y); if (DeltaX == 0) { _local1 = true; HWalkCounter = 0; VWalkCounter++; } else if (VWalkCounter >= 2) { _local1 = true; HWalkCounter = 1; VWalkCounter = 1; } else if (Math.round(fpath[curWalking - 1][0] - fpath[curWalking][0]) == 0) { _local1 = true; HWalkCounter = 1; VWalkCounter = 1; } else { _local2 = true; HWalkCounter++; VWalkCounter = 0; } if (_local1) { if (DeltaY > 0) { if (curWalkMode != "Front") { curScene.Personaje.gotoAndPlay("Walk_Front"); curWalkMode = "Front"; } } else if (curWalkMode != "Back") { curScene.Personaje.gotoAndPlay("Walk_Back"); curWalkMode = "Back"; } } else { if (DeltaX > 0) { curScene.Personaje._xscale = -Math.abs(curScene.Personaje._xscale); } else { curScene.Personaje._xscale = Math.abs(curScene.Personaje._xscale); } if (curWalkMode != "Lateral") { curScene.Personaje.gotoAndPlay("Walk_Lateral"); curWalkMode = "Lateral"; } } } if (curWalking == 0) { ProcessItemReached(); } else { curScene.Personaje._x = fpath[curWalking][0]; curScene.Personaje._y = fpath[curWalking][1]; } } function NextWalk_1() { var _local2 = true; var _local1; var _local3; var _local4; if (_local2) { curWalking = curWalking - 1; DeltaX = Math.round(fpath[curWalking][0] - curScene.Personaje._x); DeltaY = Math.round(fpath[curWalking][1] - curScene.Personaje._y); _local1 = Math.abs(DeltaY / DeltaX); if (_local1 >= 1.5) { if (DeltaY > 0) { if (curWalkMode != "Front") { curScene.Personaje.gotoAndPlay("Walk_Front"); curWalkMode = "Front"; } trace("Front"); } else { if (curWalkMode != "Back") { curScene.Personaje.gotoAndPlay("Walk_Back"); curWalkMode = "Back"; } trace("Back"); } } else { if (DeltaX > 0) { curScene.Personaje._xscale = -Math.abs(curScene.Personaje._xscale); } else { curScene.Personaje._xscale = Math.abs(curScene.Personaje._xscale); } if (curWalkMode != "Lateral") { curScene.Personaje.gotoAndPlay("Walk_Lateral"); curWalkMode = "Lateral"; } trace("en NectWalk ........Lateral"); } } if (curWalking == 0) { ProcessItemReached(); } else { curScene.Personaje._x = fpath[curWalking][0]; curScene.Personaje._y = fpath[curWalking][1]; } } function NextWalk_Old() { curWalking = curWalking - 1; var _local1 = true; if (_local1) { DeltaX = Math.round(fpath[curWalking][0] - curScene.Personaje._x); DeltaY = Math.round(fpath[curWalking][1] - curScene.Personaje._y); if (DeltaX == 0) { if (DeltaY > 0) { if (curWalkMode != "Front") { curScene.Personaje.gotoAndPlay("Walk_Front"); curWalkMode = "Front"; } } else if (curWalkMode != "Back") { curScene.Personaje.gotoAndPlay("Walk_Back"); curWalkMode = "Back"; } } else { if (DeltaX > 0) { curScene.Personaje._xscale = -Math.abs(curScene.Personaje._xscale); } else { curScene.Personaje._xscale = Math.abs(curScene.Personaje._xscale); } if (curWalkMode != "Lateral") { curScene.Personaje.gotoAndPlay("Walk_Lateral"); curWalkMode = "Lateral"; } } } if (curWalking == 0) { ProcessItemReached(); } else { curScene.Personaje._x = fpath[curWalking][0]; curScene.Personaje._y = fpath[curWalking][1]; } } function CheckHitTest(SomeScene, xx, yy, mc) { punto.x = SomeScene.BoundsTerreno.xMin + xx; punto.y = SomeScene.BoundsTerreno.yMin + yy; SomeScene.Movie.localToGlobal(punto); return(mc.hitTest(punto.x, punto.y, true)); } function ShowMap() { var _local1 = curScene.Movie; _local1.clear(); curScene.Movie.mcWalkRange._alpha = 70; if (ModoPrueba) { _local1.lineStyle(0.2, 0, 100); i = 0; while (i < curScene.Map.length) { j = 0; while (j < curScene.Map[0].length) { switch (curScene.Map[i][j]) { case 0 : _local1.beginFill(13369344); break; case 2 : _local1.beginFill(14540253); break; case 1 : _local1.beginFill(10092441); } _local1.moveTo(curScene.BoundsTerreno.xMin + (j * NodeWidth), curScene.BoundsTerreno.yMin + (i * NodeHeight)); _local1.lineTo(curScene.BoundsTerreno.xMin + ((j + 1) * NodeWidth), curScene.BoundsTerreno.yMin + (i * NodeHeight)); _local1.lineTo(curScene.BoundsTerreno.xMin + ((j + 1) * NodeWidth), curScene.BoundsTerreno.yMin + ((i + 1) * NodeHeight)); _local1.lineTo(curScene.BoundsTerreno.xMin + (j * NodeWidth), curScene.BoundsTerreno.yMin + ((i + 1) * NodeHeight)); _local1.lineTo(curScene.BoundsTerreno.xMin + (j * NodeWidth), curScene.BoundsTerreno.yMin + (i * NodeHeight)); _local1.endFill(); j++; } i++; } } } function CheckClickCounter() { if ((ClickCounter > 0) && (ClickCounter < 5)) { ClickCounter++; } else { ClickCounter = 0; } } function CancelDialog() { if (!DialogsLocked) { if (DialogTask != undefined) { BlockAdmin.CancelDialog(); } } } function StartGame() { stopAllSounds(); _root.RefreshItemCaption(); _root.CheckVisibility(); _root.curScene.Start(true); if (_root.curScene.HasStartFriend) { _root.InitTasks(_root.curScene.StartFriend); } else { _root.MouseBlocked = false; } } function CheckPanel() { if ((WalkTask != undefined) && (LastPopUpSource != "")) { HidePopUp("PANEL"); return(0); } if (curDelayTexto < curDelay) { curDelayTexto++; return(0); } if (curDelayTexto == curDelay) { HidePopUp("PANEL"); if (PanelTask != undefined) { PanelTask.Finish(); _root.PanelTask = undefined; } else { _root.RefreshItemCaption(); } curDelayTexto++; } } function ProcessItemReached() { curScene.Personaje._x = MouseX; curScene.Personaje._y = MouseY; if (ItemToCatch != undefined) { if (ItemToCatch.CanCatch) { Inventario.AddItem(ItemToCatch); } if (ItemToCatch.ShowScreen) { _root.ShowScreen(ItemToCatch.MovieScreen); } ItemToCatch = undefined; } } var DialogsLocked = false; var VWalkCounter = 0; var HWalkCounter = 0; var SoundTask = undefined; var MouseInTerrain = false; var SobreItem = false; var PuntoValido; var DeltaX; var DeltaY; var PrevFrame; var aux = new Object(); var p = new Object(); var ModoPrueba = false; var MinXEscene = 200; var MaxXEscene = 300; var punto = new Object(); var i; var j; var fpath; var swWalking = false; var curWalking = -1; var StartRow; var StartCol; var EndRow; var EndCol; var curWalkMode = ""; var MouseX; var MouseY; var Items = new Array(); var nItems = 0; var NodeWidth = 7; var NodeHeight = 5; var DeltaXTerrain = 20; mcMain.onKeyDown = function () { trace(Key.getCode()); }; mcMain.onMouseDown = function () { var _local2; var _local4; var _local3; if (_root.DialogTask != undefined) { if ((_root.BlockAdmin.curBlock.TipoAccion == "B") && (_root.BlockAdmin.curBlock.CanSpeed)) { _root.BlockAdmin.curBlock.curTalkDelay = _root.BlockAdmin.curBlock.TalkDelay; _root.BlockAdmin.curBlock.curAditionalDelay = _root.BlockAdmin.curBlock.AditionalDelay; if (_root.BlockAdmin.curBlock.CharTalk.CurDialog != undefined) { _root.BlockAdmin.curBlock.CharTalk.CancelDialog(); } } } _root.Inventario.ProcessMouseDown(); }; _root.nScenesLoaded = 0; _root.CurLoadingSceneIndex = 1; _root.LoadedItems = 0; pTest = new Object(); mcMain.onEnterFrame = function () { var _local6; var _local3; var _local4; var _local2; if ((_root.mcDialogWindow == undefined) || (_root.FirstTime == undefined)) { return(0); } if (_root.FriendToLunch != undefined) { if (curFramesDelay >= TotalFramesDelay) { } else { curFramesDelay++; } } if (_root.FirstTime) { _root.FirstTime = false; _root.BlockAdmin = new objBlockAdmin(_root.mcDialogWindow); _root.BlockAdmin.DefaultLangue = "Spanish"; _root.BlockAdmin.AlternateLangue = "English"; _root.Inventario = new objInventory(); _root.InitBlocks(); _root.InitVars(); } if (_root.CurLoadingSceneIndex <= _root.nScenes) { AddAvance("Hay escenas por escanear"); _local2 = _root.Scenes[_root.CurLoadingSceneIndex]; if (_local2.curLoadedItem == 0) { AddAvance("Se muestra la barra de avance"); txtAvance = txtAvance + "2;"; _local2.curLoadedItem++; return(0); } if (_root.LoadedItems == 0) { txtAvance = txtAvance + "3;"; AddAvance("Se muestra la barra de avance"); _root.mcStageLoader.mcBar._width = 0; _root.mcStageLoader._visible = true; } AddAvance("Scene.curLoadedItem=" + _local2.curLoadedItem); AddAvance("Scene.nItems=" + _local2.nItems); AddAvance("Scene.Name=" + _local2.Name); if ((_local2.curLoadedItem > 0) && (_local2.curLoadedItem <= _local2.nItems)) { _local3 = _local2.Items[_local2.curLoadedItem]; AddAvance("Se escanea el item:" + _local3.ID); if ((_local3.ScanAtStart && (!_local3.AlwaysWalkable)) && ((_local3.mc._visible && (_local3.Tipo != "T")) || (_local3.Tipo == "T"))) { if (_local2.CurCharacter != _local3.ID) { if (!_local3.Scanning) { AddAvance("Entra a _root.GetItemBounds"); _local4 = _root.GetItemBounds(_local2, _local3); } _local4 = _root.SetTerrainItemBaseDelta(_local2, _local3, true); if (_local4 == 0) { return(0); } } } _root.LoadedItems++; _local2.curLoadedItem++; _root.mcStageLoader.mcBar._width = _root.DeltaBar * _root.LoadedItems; if (_local2.curLoadedItem > _local2.nItems) { _local2.Loaded = true; _root.CurLoadingSceneIndex++; } if (_root.LoadedItems == _root.nItems) { _root.mcStageLoader._visible = false; _root.mcComenzar._visible = true; if (_root.ModoPrueba) { _root.ShowMap(); } } return(0); } } if (_root.mcComenzar._visible) { return(0); } if (Key.isDown(27)) { var _local5; if (!DialogsLocked) { if (_root.DialogTask != undefined) { _root.BlockAdmin.CancelDialog(); } } } if (!_root.mcComenzar._visible) { _root.NewVersion++; } if (_root.swWalking) { _root.CheckWalking(); } if (_root.DialogTask == undefined) { curScene.Personaje.mcCabeza.gotoAndStop(curScene.Personaje.Expresion); } _root.CustomLogicBeforePerform(); if (_root.Inventario.Dragging) { _root.Inventario.CheckDragHit(); } if (curScene.Personaje.mcBlock._visible) { curScene.Personaje.mcBlock._visible = false; } _root.PerformTasks(); if (curScene.Personaje.mcBlock._visible) { curScene.Personaje.mcBlock._visible = false; } PerformDialog(); CheckPanel(); ProcessTipLogic(); _root.CustomLogicAfterPerform(); updateAfterEvent(); }; mcMain.onMouseMove = function () { updateAfterEvent(); }; function ShowSkipButton() { btnSkipIntroSpanish._visible = false; btnSkipIntroEnglish._visible = false; eval ("btnSkipIntro" + Language)._visible = true; } function HideSkipButton() { btnSkipIntroSpanish._visible = false; btnSkipIntroEnglish._visible = false; } function SkipIntro() { _root.curScene.Personaje.Expresion = "Normal"; _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); if (_root.DialogTask != undefined) { _root.BlockAdmin.CancelDialog(); } FinishCurrentFlow(); if (curScene.Name == "OVAL") { InitTasks(SkipIntroFriendOval); } if (curScene.Name == "PANDA") { InitTasks(SkipIntroFriendPanda); } if (curScene.Name == "FAMILY") { InitTasks(SkipIntroFriendFamily); } } var SkipIntroFriendOval = undefined; var SkipIntroFriendSotano = undefined; var SkipIntroFriendFamily = undefined; btnSkipIntroSpanish._visible = false; btnSkipIntroEnglish._visible = false; function CustomLogicAfterPerform() { if (!mcTips._visible) { if (CurMission == 1) { RefreshTimerOval(); } if (CurMission == 2) { RefreshTimerTerminator(); } if (CurMission == 3) { RefreshTimerFamily(); } } if (!HaveAction("PUSO_PELUCA")) { curScene.Personaje.mcCabeza.mcPelo.gotoAndStop(2); } else { curScene.Personaje.mcCabeza.mcPelo.gotoAndStop(1); } } function CustomLogicBeforePerform() { var _local1; if (!HaveAction("PUSO_PELUCA")) { curScene.Personaje.mcCabeza.mcPelo.gotoAndStop(2); } else { curScene.Personaje.mcCabeza.mcPelo.gotoAndStop(1); } if (mcPatio.mcDormilon._currentframe == (mcPatio.mcDormilon._totalframes - 1)) { mcPatio.mcDormilon.gotoAndPlay(1); } if (!HaveAction("NO_CAMINA")) { if (mcMuro.mcGorda.mcGraph._currentframe == 33) { mcMuro.mcGorda.mcGraph.gotoAndPlay("Camina"); } mcMuro.mcGorda._x = mcMuro.mcGorda._x + mcMuro.mcGorda.deltax; if (mcMuro.mcGorda._x < 250) { mcMuro.mcGorda._x = 250; mcMuro.mcGorda.deltax = 2; } if (mcMuro.mcGorda._x > 700) { mcMuro.mcGorda.deltax = -2; mcMuro.mcGorda._x = 700; } if (mcMuro.mcGorda.deltax < 0) { mcMuro.mcGorda._xscale = Math.abs(mcMuro.mcGorda._xscale); } else { mcMuro.mcGorda._xscale = -Math.abs(mcMuro.mcGorda._xscale); } } else if (HaveAction("GORDA_CAMINANDO")) { } } _root.AddAction("TIENE_ACCIO"); _root.AddAction("TIENE_ALOHOMORA"); _root.AddAction("TIENE_EXPELLIARMUS"); _root.AddAction("TIENE_ANIMAGUM"); _root.AddAction("TIENE_DISCENDIO"); _root.AddAction("TIENE_PATRONUM"); _root.AddAction("TIENE_LEVICORPUS"); _root.AddAction("TIENE_RELASHIO"); _root.AddAction("TIENE_REPARO"); _root.AddAction("TIENE_REVELUM"); _root.AddAction("TIENE_LACARNUM"); _root.AddAction("TIENE_LEVIOSA"); var CurMission; var TimerCounter; var MaxSecondsOval; var MaxSecondsTerminator; CurMission = 1; MaxSecondsOval = 900; TimerCounter = MaxSecondsOval; MaxSecondsTerminator = 900; MaxSecondsFamily = 600; var TimeFrameCounter = 0; var GasCounter = 0; var curAlpha = 0; mcGasSystemAlert.gotoAndStop(Language); mcGasSystemAlert._visible = false; mcCloseGateMsg.gotoAndStop(Language); mcCloseGateMsg._visible = false; function InitTipButtons() { mcProgressTipBorder._visible = false; mcProgressTip._visible = false; mcShowTipDisabledSpanish._visible = false; mcShowTipDisabledEnglish._visible = false; btnShowTipSpanish._visible = false; btnShowTipEnglish._visible = false; FramesToNextTip = 1500 * MinutesToNextTip; FramesSinceLastTip = FramesToNextTip; NoMoreTips = false; } function HideTipButton() { btnShowTipSpanish._visible = false; btnShowTipEnglish._visible = false; TipButtonVisible = false; } function HideTipDisabled() { mcShowTipDisabledSpanish._visible = false; mcShowTipDisabledEnglish._visible = false; } function ShowTipDisabled() { HideTipDisabled(); eval ("mcShowTipDisabled" + Language)._visible = true; } function ShowTipButton() { HideTipButton(); if (TipsUsed >= MaxTips) { return(undefined); } eval ("btnShowTip" + Language)._visible = true; TipButtonVisible = true; mcProgressTip._visible = false; mcProgressTipBorder._visible = false; } function ProcessTipLogic() { if (NoMoreTips && (mcProgressTip._visible)) { mcProgressTip._visible = false; mcProgressTipBorder._visible = false; } if (TipsUsed > MaxTips) { return(undefined); } if (mcTips._visible) { return(undefined); } if (TipsUsed == MaxTips) { TipsUsed++; HideTipButton(); return(undefined); } if (mcShowTipDisabledSpanish._visible || (mcShowTipDisabledEnglish._visible)) { if (FramesSinceLastTip < FramesToNextTip) { FramesSinceLastTip++; if ((!mcProgressTip._visible) && (!NoMoreTips)) { mcProgressTip._visible = true; mcProgressTipBorder._visible = true; } mcProgressTip._width = Math.floor(ProgressWidth * (FramesSinceLastTip / FramesToNextTip)); } } else { return(undefined); } if (curFlowFriend != undefined) { if (TipButtonVisible) { HideTipButton(); return(undefined); } } else { if (!TipButtonVisible) { if ((FramesSinceLastTip >= FramesToNextTip) && (!NoMoreTips)) { ShowTipButton(); } } if (TipButtonVisible) { if (FramesSinceLastTip < FramesToNextTip) { HideTipButton(); } } } } function AddTip(mission, msg, msg2, action, action2) { var _local1 = new Tip(mission, msg, msg2, action, action2); nTips++; Tips[nTips] = _local1; } function Tip(mission, msg, msg2, action, action2) { this.Msg = msg; this.Msg2 = msg2; this.Action = action; this.Mission = mission; if (action2 == undefined) { this.Action2 = action; } else { this.Action2 = action2; } } function GetNextTip() { var _local2; var _local1; var _local3; _local2 = 1; while (_local2 <= nTips) { _local1 = Tips[_local2]; if (((!HaveAction(_local1.Action)) && (!HaveAction(_local1.Action2))) && (_local1.Mission == CurMission)) { if (Language == "Spanish") { _local3 = _local1.Msg; } else { _local3 = _local1.Msg2; } return(_local3); } _local2++; } return("NO_MORE_TIPS"); } function ShowTip() { if (_root.curFlowFriend != undefined) { return(undefined); } trace("hola"); InitTasks(ShowTipFriend); } var ProgressWidth = mcProgressTip._width; var TipButtonVisible = false; NoMoreTips = false; Tips = new Array(); nTips = 0; HelpIntro = false; if (MaxTips == undefined) { MaxTips = 3; } if (MinutesToNextTip == undefined) { MinutesToNextTip = 2; } TipsUsed = 0; LastTipShowed = ""; if (PointsForTip == undefined) { PointsForTip = 5000; } AddTip(1, "Las tijeras son buenas para cortar telas de ara\u00F1a", "Scissors are good for cutting webs", "CORTO_ARANA"); AddTip(1, "Hay s\u00EDmbolos interesantes escritos en las ara\u00F1as si las miras MUY de cerca", "There are interesting symbols written on spiders if you look them VERY close", "VIO_ARANA"); AddTip(1, "\u00BFNo crees que las peque\u00F1as flechitas en la ara\u00F1a podr\u00EDan ser una especie de combinaci\u00F3n?", "Don't you think the little arrows in the spider could be some kind of combination for safes?", "COMBINACION_CORRECTA"); AddTip(1, "Normalmente encontramos cosas curiosas bajo las alfombras", "Usually, we find interesting things under carpets", "MOVIO_ALFOMBRA"); AddTip(1, "Cuando algo est\u00E1 oxidado a veces es recomendable aceitarlo", "When something's rusty, oil is always useful", "ECHO_ACEITE"); AddTip(1, "Las placas de los escritorios contienen datos importantes si lees cuidadosamente", "Desk plaques contain important information if you read carefully", "VIO_PLACA", "ABRIO_PUERTA_SECRETA"); AddTip(1, "Nunca faltan libros verdes en un buen estante", "There's always a green book in every good shelf", "COGIO_LIBRO", "ABRIO_PUERTA_SECRETA"); AddTip(1, "Cuando lees un libro \u00BFllegas hasta el final? o te aburres y lo dejas incompleto", "When you read a book, do you always finish it or just you get bored and leave it unfinished?", "READ_FINAL_PART", "ABRIO_PUERTA_SECRETA"); AddTip(1, "\u00BFQu\u00E9 tal si leemos la placa del escritorio y tambi\u00E9n la parte final del libro verde?", "How about reading the desk plaque and ALSO the FINAL part of the green book?", "ABRIO_PUERTA_SECRETA"); AddTip(2, "Apuesto que hay un chicle escondido cerca del televisor malogrado", "I bet there's gum hidden somewhere near the broken TV", "COGIO_CHICLE"); AddTip(2, "Algunas veces mastico chicle cuando estoy nervioso", "Sometimes I chew gum when I'm nervous", "MASCO_CHICLE"); AddTip(2, "Una manera de pegar un im\u00E1n a un muro es usando chicle", "A way to stick a magnet to a wall is using gum", "PUSO_CHICLE"); AddTip(2, "Si tienes un im\u00E1n con chicle \u00BFQu\u00E9 esperas para pegarlo?", "If you have magnet with gum, what are you waiting to stick it?", "PUSO_IMAN"); AddTip(2, "Nada mejor que una tijera para sacar el cable de un televisor malogrado", "Nothing better than scissors to get a cable from a broken TV", "COGIO_CABLE_TV"); AddTip(2, "Si quieres pegar un cable a un im\u00E1n ... usa chicle", "If you want to stick a cable to a magnet .... use gum", "PUSO_CHICLE2"); AddTip(2, "Para manipular un interruptor de alto voltaje primero debes apagarlo", "Before handling a high voltage switch you must turn it off", "PUSO_CABLE", "VOLTAJE_APAGADO"); AddTip(2, "Un cable con chicle es perfecto para unir un interruptor y un im\u00E1n", "A cable with gum is perfect to connect a magnet to a switch ", "PUSO_CABLE"); AddTip(3, "Si ves un mu\u00F1eco con un regalo asume que es para t\u00ED", "If you see a puppet with a present asume it's for you", "COGIO_REGALO"); AddTip(3, "Si quieres quemar un mu\u00F1eco ba\u00F1alo con aceite", "If you want to burn a puppet sprinkle oil on it", "ECHO_ACEITE_JIGSAW"); AddTip(3, "Apuesto que hay un encendedor en alguna parte", "I bet there's a lighter somewhere", "TIENE_ENCENDEDOR"); AddTip(3, "Cuando los encendedores ya no encienden se les puede recargar con whisky", "When a lighter doesn't work, a little whisky may reload it", "CARGO_LIGHTER"); AddTip(3, "Si tienes un regalo... \u00BFQu\u00E9 esperas para abrirlo?", "If you have a present ... What are you waiting for? Open it!", "ABRIO_REGALO"); AddTip(3, "Las mejores mechas se hacen de cola de rat\u00F3n", "The best fuses are made from mouse tails", "CORTO_COLA"); AddTip(3, "Una mecha de cola de rat\u00F3n debe tener un poco de alcohol para que pueda arder", "A mouse tail fuse must have a little alcohol to be inflammable", "MOJO_COLA"); AddTip(3, "Para quemar un mu\u00F1eco de manera segura ponle una mecha", "To burn a puppet in a safe way put a fuse on it", "PUSO_COLA"); AddTip(3, "Estee.. mmmm... Si tienes un mu\u00F1eco ba\u00F1ado en aceite y con una mecha puesta ... \u00BFQUE ESPERAS PARA QUEMARLO?", "Errr.... mmm.... If you have a highly inflammable puppet with a fuse on it ... \u00BFWHAT ARE YOU WAITING TO BURN ITTT?", "QUEMO_MUNECO"); AddTip(3, "Normalmente las monedas suelen echarse por alguna rendija, y algunos cuadros tienen rendijas", "Usually coins are inserted in objects that have slots, and some paintings have slots", "ECHO_MONEDA"); InitTipButtons(); mcTips._visible = false; mcTips.gotoAndStop(1); mcTimer._visible = false; mcObamaFilch._visible = false; mcAviso._visible = false; mcNoticias._visible = false; mcPerdisteAngel._visible = false; mcNota._visible = false; mcPergaminoScreen._visible = false; mcPassword._visible = false; mcObamaEspejo._visible = false; mcDeskStory._visible = false; mcSpellsBook._visible = false; mcPotionsBook._visible = false; mcDarkBook._visible = false; function MapScenes() { var _local1; _local1 = 1; while (_local1 <= nScenes) { GetSceneByName(Scenes[_local1].Name).ActivateCharacter("OBAMA_" + Scenes[_local1].Name); Scenes[_local1].Init(); Scenes[_local1].InitMap(); _local1++; } } function InitSceneTasks() { var Name; var InitFunction; var i; i = 1; while (i <= nScenes) { Name = Scenes[i].Name; Name = Name.substring(0, 1) + Name.substring(1, Name.length).toLowerCase(); Name = ("SF_" + Name) + "Tasks"; InitFunction = eval (Name); InitFunction(); i++; } } function InitScenes() { var _local1; _local1 = AddScene("ENTRADA_ROOM", "ENTRADA_ROOM", mcEntradaRoom, "fondo_celda"); _local1 = AddScene("PUERTA_ESPEJO", "PUERTA_ESPEJO", mcPuertaEspejo, "fondo_celda"); _local1 = AddScene("FILCH", "Filch", mcFilch, "fondo_celda"); _local1 = AddScene("CUARTO_HARRY", "CUARTO_HARRY", mcCuartoHarry, "fondo_celda"); _local1 = AddScene("FAT_ROOM", "FAT_ROOM", mcFatRoom, "fondo_celda"); _local1 = AddScene("CUARTO_POCIONES", "CUARTO_POCIONES", mcCuartoPociones, "fondo_celda"); _local1 = AddScene("NICK_ROOM", "NICK_ROOM", mcNickRoom, "fondo_celda"); _local1 = AddScene("ESPEJO_ROOM", "ESPEJO_ROOM", mcEspejoRoom, "fondo_celda"); _local1 = AddScene("PETER_ROOM", "PETER_ROOM", mcPeterRoom, "fondo_celda"); _local1 = AddScene("PETER_DOOR", "PETER_DOOR", mcPeterDoor, "fondo_celda"); _local1 = AddScene("TROLL_ROOM", "TROLL_ROOM", mcTrollRoom, "troll_fondo"); _local1 = AddScene("DEMENTOR_ROOM", "DEMENTOR_ROOM", mcDementorRoom, "troll_fondo"); _local1 = AddScene("VOLDEMORD_ROOM", "VOLDEMORD_ROOM", mcVoldemordRoom, "troll_fondo"); } function InitVars() { var _local2; InitScenes(); InitDinamicMovies(); InitSceneTasks(); MapScenes(); curScene = GetSceneByName("ENTRADA_ROOM"); curScene.Baja(); mcPanel._visible = false; InitInventario(); SetChildrenFlag(); TrackBackFriends(); SetFriendParentTasks(); _root.MouseBlocked = true; curLoadedItem = 0; DeltaBar = mcStageLoader.mcBar._width / nItems; mcStageLoader.mcBar._width = 0; mcPopUp.txtPopUp.autoSize = "left"; mcPopUp.txtPopUp.wordWrap = true; mcPopUp.txtPopUp.multiline = true; mcPanel.txtMensaje.text = "TRANSFUSIONADOR EN TRANSFUSIONADOR"; mcPanel.txtMensaje.autoSize = "left"; mcPanel.txtMensaje.wordWrap = true; mcPanel.txtMensaje.multiline = true; mcPopUp._visible = false; InitDialogWindow(); SetMenuItemMouseEvents(mcMenuInv.mcOpcion1, 1, 2, 1); mcMenuInv.mcOpcion1.gotoAndStop(1); SetMenuItemMouseEvents(mcMenuInv.mcOpcion2, 1, 2, 2); mcMenuInv.mcOpcion2.gotoAndStop(1); SetMenuItemMouseEvents(mcMenuInv.mcOpcion3, 1, 2, 3); mcMenuInv.mcOpcion3.gotoAndStop(1); SetMenuItemMouseEvents(mcMenuInv.mcOpcion4, 1, 2, 4); mcMenuInv.mcOpcion4.gotoAndStop(1); mcMenuInv._visible = false; mcMenuInv.mcTarget._visible = false; mcMenuScene.mcTarget._visible = false; mcMenuScene._visible = false; mcComenzar._visible = false; SonidoActual = new Sound(); } stop(); mcComenzar._visible = false; mcStageLoader._visible = false; var Inventario = undefined; var SceneIndex; var i; var FirstTime = true; var InInitVars = false; mcSpells._visible = false; function SF_Entrada_roomTasks() { var _local3; var _local2; var _local4; curScene = GetSceneByName("ENTRADA_ROOM"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("COMENTA_1", "PANEL", 0, "Voldemord ha robado la 'Aliquantum Prospera', tenemos que recuperarla", "START"); IterTask.AddMsg("Voldemort has stolen the 'Aliquantum Prospera', we have to get it back"); IterTask.Expresion = "Amargo"; _local3 = AddItem(undefined, "DELAY_ENTRADA_ROOM", "D"); _local2 = _local3.AddFriend("DELAY_ENTRADA_ROOM_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendEntrada_room = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryEntrada_room", "I"); _local3 = AddItem(undefined, "MouseEntrada_room", "M"); _local3 = AddItem("mcWalkRange", "TerrenoEntrada_room", "T"); _local2 = _local3.AddFriend("MouseEntrada_room", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_ENTRADA_ROOM", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_ENTRADA_ROOM", "Normal", "Front"); _local3 = AddItem("mcFlechaDerecha", "FLECHA_DERECHA", "W", "Avanzar"); _local3.AddMsg("Go forward"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("APUERTA_ESPEJO", "SCENE", "", "PUERTA_ESPEJO", "CAMINAR"); IterTask.MovieName = "mcPuertaEspejo.mcFlechaIzquierda.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("FREE_WALK", "MOUSE_STATE", "WALK", "ENABLED", "APUERTA_ESPEJO"); var _local5; _root.AddItemEnabled("FLECHA%"); _root.AddItemEnabled("TERRENO%"); _root.AddItemEnabled("CAPA"); _root.AddItemEnabled("DELAY_RESTRICCION_CAPA"); } function SF_Puerta_espejoTasks() { var _local3; var _local2; var _local5; curScene = GetSceneByName("PUERTA_ESPEJO"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("GANA_LEON", "INV", "ITEM", "ADD", "START"); IterTask.ItemName = "LION_SHIELD"; IterTask = _local2.AddTask("TIENE_ALOHOMORA", "ACTION", "ADD", "TIENE_ALOHOMORA", "GANA_LEON"); IterTask = _local2.AddTask("TIENE_ACCIO", "ACTION", "ADD", "TIENE_ACCIO", "GANA_LEON"); IterTask = _local2.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "GANA_LEON"); IterTask.ItemName = "VARITA"; _local3 = AddItem(undefined, "DELAY_PUERTA_ESPEJO", "D"); _local2 = _local3.AddFriend("DELAY_PUERTA_ESPEJO_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendPuerta_espejo = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryPuerta_espejo", "I"); _local3 = AddItem(undefined, "MousePuerta_espejo", "M"); _local3 = AddItem("mcWalkRange", "TerrenoPuerta_espejo", "T"); _local2 = _local3.AddFriend("MousePuerta_espejo", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_PUERTA_ESPEJO", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_PUERTA_ESPEJO", "Normal", "Front"); _local3 = AddItem("mcAuxEscudo", "AUXILIAR_ESCUDO", "W", ""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "CONDITIONAL", "", "", ""); IterTask.AddCondition("DONTHAVE@MOVIO_ARMADURA", "MIRAR2"); IterTask.AddCondition("ELSE", "MIRAR3"); IterTask = _local2.AddTask("MIRAR2", "PANEL", 0, "Est\u00E1 bloqueando la entrada a la puerta", ""); IterTask.AddMsg("He's blocking the entrance"); IterTask.Expresion = "Triste"; IterTask = _local2.AddTask("MIRAR3", "PANEL", 0, "Por fin el caballero puede descansar en paz", ""); IterTask.AddMsg("Finally the knight can rest in peace"); IterTask.Expresion = "Alegre"; IterTask = _local2.AddTask("HABLAR", "WALK", "ITEM", "", ""); IterTask.ItemName = "ARMADURA"; IterTask.Position = "BACK"; IterTask = _local2.AddTask("HABLAR2", "PANEL", 0, "Hola", "HABLAR"); IterTask.AddMsg("Hi"); IterTask.CanSpeed = false; IterTask.Position = "BACK"; IterTask.WaitFramesAtEnd = 50; IterTask = _local2.AddTask("HABLAR3", "PANEL", 0, "Al parecer no le gusta hablar", "HABLAR2"); IterTask.AddMsg("Apparently he doesn't like to talk much"); IterTask.Position = "FRONT"; IterTask.Expresion = "Triste"; _local2 = _local3.AddFriend("LION_SHIELD"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("CAMINAR", "WALK", "ITEM", "", "BLOCKMOUSE"); IterTask.ItemName = "ARMADURA"; IterTask.Position = "BACK"; IterTask = _local2.AddTask("CAMBIA_ESCUDO", "MOVIE_ITEM", "GOTOANDSTOP", "", "CAMINAR"); IterTask.ItemName = "ARMADURA"; IterTask.MovieFrame = "Escudo"; IterTask.AnimationMode = "ASYNC"; IterTask.WaitFramesAtEnd = 20; IterTask = _local2.AddTask("PIERDE_LEON", "INV", "ITEM", "DROP", "CAMINAR"); IterTask.ItemName = "LION_SHIELD"; IterTask = _local2.AddTask("SONIDO_ARMADURA", "SOUND", "ASINCRONO", "", "CAMBIA_ESCUDO"); IterTask.SoundName = "mueve_armadura"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local2.AddTask("MUEVE_ARMADURA", "MOVE", "ITEM", "", "CAMBIA_ESCUDO"); IterTask.ItemName = "ARMADURA"; IterTask.DistanceX = 130; IterTask.DeltaX = 5; IterTask.MoveMode = "TWEEN"; IterTask = _local2.AddTask("MOVIO_ARMADURA", "ACTION", "ADD", "MOVIO_ARMADURA", "MUEVE_ARMADURA"); IterTask = _local2.AddTask("DEMORA", "DUMMY", "", "", "MUEVE_ARMADURA"); IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("COMENTA_CONTENTA", "PANEL", 0, "Ahora es un caballero contento", "DEMORA"); IterTask.AddMsg("He's happy now"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local2.AddTask("OCULTA_AUXILIAR_ESCUDO", "MOVIE_ITEM", "VISIBLE", false, "MUEVE_ARMADURA"); IterTask.ItemName = "AUXILIAR_ESCUDO"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "MUEVE_ARMADURA"); _local3 = AddItem("mcPuerta", "PUERTA_ESPEJO", "W", "Una puerta"); _local3.AddMsg("A door"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("DECIDE_MENU", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@ABRIO_PUERTA_ARMADURA", "NADA"); IterTask.AddCondition("DONTHAVE@MOVIO_ARMADURA", "MENU1"); IterTask.AddCondition("ELSE", "MENU2"); IterTask = _local2.AddTask("MENU1", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una puerta bloqueada", ""); IterTask.AddMsg("A door"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No puedo acercarme ... est\u00E1 bloqueada", ""); IterTask.AddMsg("I can't get near it... it's blocked"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "No puedo acercarme ... est\u00E1 bloqueada", ""); IterTask.AddMsg("I can't get near it... it's blocked"); IterTask = _local2.AddTask("MENU2", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR2"; IterTask.EyeTask = "MIRAR2"; IterTask.MouthTask = "HABLAR2"; IterTask = _local2.AddTask("MIRAR2", "PANEL", 0, "\u00BFA d\u00F3nde conducir\u00E1 est\u00E1 puerta?", ""); IterTask.AddMsg("I wonder where does this door lead to"); IterTask = _local2.AddTask("HABLAR2", "PANEL", 0, "\u00BFHablar con una puerta? \u00BFInsin\u00FAas que estoy loco?", ""); IterTask.Expresion = "Amargo"; IterTask.Position = "FRONT"; IterTask.AddMsg("You want me to talk to a door?... Take your pills will you..."); IterTask = _local2.AddTask("AGARRAR2", "WALK", "TARGET", "", ""); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "LEFT", "AGARRAR2"); IterTask = _local2.AddTask("MANO_OBAMA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "AGARRAR2"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 20; IterTask = _local2.AddTask("DECIDE_ABRIR", "CONDITIONAL", "", "", "MANO_OBAMA"); IterTask.AddCondition("HAVE@AFLOJO_PUERTA_ARMADURA", "ABRE_PUERTA"); IterTask.AddCondition("ELSE", "COMENTA_ATASCO"); IterTask = _local2.AddTask("ABRE_PUERTA", "MOVIE_ITEM", "GOTOANDSTOP", "", ""); IterTask.ItemName = "PUERTA_ESPEJO"; IterTask.MovieFrame = "Abierta"; IterTask.AnimationMode = "ASYNC"; IterTask = _local2.AddTask("MUESTRA_FLECHA", "MOVIE_ITEM", "VISIBLE", true, "ABRE_PUERTA"); IterTask.ItemName = "FLECHA_ARRIBA_ARMADURA"; IterTask = _local2.AddTask("ORIENTA_OBAMA3", "CHAR_DIRECTION", "", "BACK", "ABRE_PUERTA"); IterTask = _local2.AddTask("ABRIO_PUERTA_ARMADURA", "ACTION", "ADD", "ABRIO_PUERTA_ARMADURA", "ABRE_PUERTA"); IterTask = _local2.AddTask("COMENTA_ATASCO", "PANEL", 0, "Est\u00E1 atascada", ""); IterTask.AddMsg("It's jammed"); IterTask.Expresion = "Triste"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("DECIDE_HECHIZO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@ABRIO_PUERTA_ESPEJO", "COMENTA_NOMAGIA"); IterTask.AddCondition("DONTHAVE@MOVIO_ARMADURA", "COMENTA_ANTES"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_NOMAGIA", "PANEL", 0, "Ya no es necesario hacer magia con la puerta", ""); IterTask.AddMsg("It's not necessary to use magic on the door anymore"); IterTask = _local2.AddTask("COMENTA_ANTES", "PANEL", 0, "No puedo lanzar un hechizo a la puerta si la armadura est\u00E1 delante", ""); IterTask.AddMsg("The knight is still blocking the door, i can't cast a spell on it"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_ALOHOMORA", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("COMENTA_NO_AYUDA", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", ""); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOVIE", "", ""); IterTask.Position = "RIGHT"; IterTask.MovieName = "mcGuiaHechizo"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GRITA_ALOHOMORA", "PANEL", 0, "\u00A1Alohomora!", "CAMINAR"); IterTask.AddMsg("Alohomora!"); IterTask = _local2.AddTask("SONIDO_PUERTA", "SOUND", "ASINCRONO", "", "GRITA_ALOHOMORA"); IterTask.SoundName = "puerta_botiquin"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local2.AddTask("ABRE_PUERTA", "MOVIE_ITEM", "GOTOANDSTOP", "", "GRITA_ALOHOMORA"); IterTask.ItemName = "PUERTA_ESPEJO"; IterTask.MovieFrame = "Abierta"; IterTask.AnimationMode = "ASYNC"; IterTask = _local2.AddTask("MUESTRA_FLECHA", "MOVIE_ITEM", "VISIBLE", true, "ABRE_PUERTA"); IterTask.ItemName = "FLECHA_ARRIBA_ARMADURA"; IterTask = _local2.AddTask("ABRIO_PUERTA_ARMADURA", "ACTION", "ADD", "ABRIO_PUERTA_ARMADURA", "ABRE_PUERTA"); IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "ABRIO_PUERTA_ARMADURA"); IterTask.AddParentName("ESTIRA_VARITA"); IterTask = _local2.AddTask("AFLOJO_PUERTA_ARMADURA", "ACTION", "ADD", "AFLOJO_PUERTA_ARMADURA", "ORIENTA_OBAMA"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA"); _local3 = AddItem("mcArmadura", "ARMADURA", "W", "Un caballero"); _local3.AddMsg("A knight"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "CONDITIONAL", "", "", ""); IterTask.AddCondition("DONTHAVE@MOVIO_ARMADURA", "MIRAR2"); IterTask.AddCondition("ELSE", "MIRAR3"); IterTask = _local2.AddTask("MIRAR2", "PANEL", 0, "Est\u00E1 bloqueando la entrada a la puerta", ""); IterTask.AddMsg("He's blocking the entrance"); IterTask.Expresion = "Triste"; IterTask = _local2.AddTask("MIRAR3", "PANEL", 0, "Por fin el caballero puede descansar en paz", ""); IterTask.AddMsg("May the knight rest in peace"); IterTask.Expresion = "Alegre"; IterTask = _local2.AddTask("HABLAR", "WALK", "ITEM", "", ""); IterTask.ItemName = "ARMADURA"; IterTask.Position = "BACK"; IterTask = _local2.AddTask("HABLAR2", "PANEL", 0, "Hola", "HABLAR"); IterTask.AddMsg("Hi"); IterTask.CanSpeed = false; IterTask.WaitFramesAtEnd = 50; IterTask = _local2.AddTask("HABLAR3", "PANEL", 0, "Al parecer no es de hablar mucho esta armadura", "HABLAR2"); IterTask.AddMsg("Apparently he doesn't like to talk much"); IterTask.Position = "FRONT"; IterTask.Expresion = "Triste"; IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "No creo que pueda ganarle en un combate cuerpo a cuerpo", ""); IterTask.AddMsg("I don't think i can beat him in a hand to hand combat..."); IterTask.Expresion = "Asustado"; _local3 = AddItem("mcFlechaIzquierda", "FLECHA_IZQUIERDA", "W", "Regresar"); _local3.AddMsg("Go Back"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("AENTRADA", "SCENE", "", "ENTRADA_ROOM", "CAMINAR"); IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "LEFT"; IterTask.MovieName = "mcEntradaRoom.mcFlechaDerecha.mcTarget"; _local3 = AddItem("mcFlechaDerecha", "FLECHA_DERECHA", "W", "Avanzar"); _local3.AddMsg("Go forward"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("AOVAL2", "SCENE", "", "NICK_ROOM", "CAMINAR"); IterTask.MovieName = "mcNickRoom.mcFlechaIzquierda.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("FREE_WALK", "MOUSE_STATE", "WALK", "ENABLED", "AOVAL2"); _local3 = AddItem("mcFlechaArriba", "FLECHA_ARRIBA_ARMADURA", "W", "Entrar"); _local3.AddMsg("Enter"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ENTRAR_CASA", "SCENE", "", "ESPEJO_ROOM", "CAMINAR"); IterTask.MovieName = "mcEspejoRoom.mcFlechaAbajo.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "BACK"; mcPuertaEspejo.mcFlechaArriba._visible = false; mcPuertaEspejo.mcGuiaHechizo._visible = false; var _local4; _local4 = GetSceneByName("PUERTA_ESPEJO").AddSortRule("CABALLERO"); _local4.AddItem("FLECHA_ARRIBA_ARMADURA"); _local4.AddItem("AUXILIAR_ESCUDO"); _local4.AddItem("ARMADURA"); _local4.AddItem("PUERTA_ESPEJO"); } function SF_Espejo_roomTasks() { var _local3; var _local2; var _local4; curScene = GetSceneByName("ESPEJO_ROOM"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("GANA_ACCIO", "ACTION", "ADD", "TIENE_ACCIO", "START"); IterTask = _local2.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "VARITA"; IterTask = _local2.AddTask("GANA_PINZA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "PINZAS"; IterTask = _local2.AddTask("GANA_CALAVERA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "CALAVERA_AMARILLA"; IterTask = _local2.AddTask("GANA_REVELUM", "ACTION", "ADD", "TIENE_REVELUM", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_RELASHIO", "ACTION", "ADD", "TIENE_RELASHIO", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_ALOHOMORA", "ACTION", "ADD", "TIENE_ALOHOMORA", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_REPARO", "ACTION", "ADD", "TIENE_REPARO", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_PLUMA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "PLUMA_FENIX"; IterTask = _local2.AddTask("GANA_TINTA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "TINTA"; IterTask = _local2.AddTask("AFLOJO_BAUL", "ACTION", "ADD", "AFLOJO_BAUL", "GANA_ACCIO"); IterTask = _local2.AddTask("AGREGA_FLECHAS_RESTRICCION", "ITEM_RESTRICTION", "ADD", "FLECHA%", "GANA_ACCIO"); IterTask = _local2.AddTask("AGREGA_TERRENO_RESTRICCION", "ITEM_RESTRICTION", "ADD", "TERRENO%", "GANA_ACCIO"); IterTask = _local2.AddTask("AGREGA_CAPA_RESTRICCION", "ITEM_RESTRICTION", "ADD", "CAPA", "GANA_ACCIO"); IterTask = _local2.AddTask("AGREGA_CAPA_RESTRICCION", "ITEM_RESTRICTION", "ADD", "DELAY_RESTRICCION_CAPA", "GANA_ACCIO"); _local3 = AddItem(undefined, "DELAY_ESPEJO_ROOM", "D"); _local2 = _local3.AddFriend("DELAY_ESPEJO_ROOM_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendEspejo_room = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryEspejo_room", "I"); _local3 = AddItem(undefined, "MouseEspejo_room", "M"); _local3 = AddItem("mcWalkRange", "TerrenoEspejo_room", "T"); _local2 = _local3.AddFriend("MouseEspejo_room", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_ESPEJO_ROOM", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_ESPEJO_ROOM", "Normal", "Front"); _local3 = AddItem("mcPeloUnicornio", "PELO_UNICORNIO", "W", "Un pelo de Unicornio"); _local3.AddMsg("A unicorn hair"); _local2 = _local3.AddFriend("MOUSE"); _local3 = AddItem("mcAuxiliarCola", "AUXILIAR_COLA", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("PINZAS"); IterTask = _local2.AddTask("DECIDE_PELO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@SACO_PELO", "COMENTA_MOLESTAR"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_MOLESTAR", "PANEL", 0, "Eso ser\u00EDa abusar de la confianza del pobre unicornio", ""); IterTask.AddMsg("You really want to piss him off, don't you?"); IterTask.Expresion = "Amargo"; IterTask.Position = "Front"; IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_COLA", "WALK", "MOVIE", "", "BLOCKMOUSE"); IterTask.Position = "FRONT"; IterTask.MovieName = "mcGuiaCola"; IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "LEFT", "CAMINA_COLA"); IterTask = _local2.AddTask("ESTIRA_MANO", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA_COLA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Lateral_Hand"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("SONIDO_UNICORNIO", "SOUND", "ASINCRONO", "", "CAMINA_COLA"); IterTask.SoundName = "cola_unicornio"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 2; IterTask = _local2.AddTask("GANA_PELO", "INV", "ITEM", "ADD", "ESTIRA_MANO"); IterTask.ItemName = "PELO_UNICORNIO"; IterTask = _local2.AddTask("SACO_PELO", "ACTION", "ADD", "SACO_PELO", "ESTIRA_MANO"); IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "LEFT", "ESTIRA_MANO"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ESTIRA_MANO"); IterTask = _local2.AddTask("COMENTA_CUENTA", "PANEL", 0, "Menos mal que no se di\u00F3 cuenta", "FREEMOUSE"); IterTask.AddMsg("Lucky for us, he didn't notice"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; _local3 = AddItem("mcUnicornio", "UNICORNIO", "W", "Un unicornio"); _local3.AddMsg("An unicorn"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Parece un unicornio macho", ""); IterTask.AddMsg("Looks like a male unicorn"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No hablo unicor\u00F1ol", ""); IterTask.AddMsg("I don't speak unicornglish"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Mejor no lo toco, puede reaccionar mal", ""); IterTask.AddMsg("I better don't touch him, he might have a decease or something..."); _local3 = AddItem("mcEspejo", "ESPEJO", "W", "Un espejo"); _local3.AddMsg("A mirror"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@VIO_ESPEJO", "YAVIO"); IterTask.AddCondition("HAVE@REPARO_ESPEJO", "BLOCKMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_ESTA_ROTO"); IterTask = _local2.AddTask("COMENTA_ESTA_ROTO", "PANEL", 0, "No puedo verme est\u00E1 roto", ""); IterTask.AddMsg("I can't use it, it's broken"); IterTask.Expresion = "Triste"; IterTask = _local2.AddTask("YAVIO", "PANEL", 0, "Ya no es necesario verme otra vez", ""); IterTask.AddMsg("It's not necessary to look at me again"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_ESPEJO", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("ASOMBRO", "PANEL", 0, "\u00BFQuee\u00E9?", "CAMINA_ESPEJO"); IterTask.AddMsg("Whaaat?"); IterTask = _local2.AddTask("SCREEN_ESPEJO", "SCREEN", "", "", "ASOMBRO"); IterTask.MovieName = "mcObamaEspejo"; IterTask = _local2.AddTask("SONIDO_ESPEJO", "SOUND", "SINCRONO", "", "ASOMBRO"); IterTask.SoundName = "gorda_shock"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local2.AddTask("GANA_VIO_ESPEJO", "ACTION", "ADD", "VIO_ESPEJO", "ASOMBRO"); IterTask = _local2.AddTask("MUESTRA_UNICORNIO", "MOVIE_ITEM", "VISIBLE", true, "ASOMBRO"); IterTask.ItemName = "UNICORNIO"; IterTask = _local2.AddTask("MUESTRA_AUXILIAR_COLA", "MOVIE_ITEM", "VISIBLE", true, "ASOMBRO"); IterTask.ItemName = "AUXILIAR_COLA"; IterTask = _local2.AddTask("COMENTA_SUENO", "PANEL", 0, "De ni\u00F1o so\u00F1aba con tener un unicornio", "SCREEN_ESPEJO"); IterTask.AddMsg("I used to dream i had a unicorn... when i was a child of course..."); IterTask.Expresion = "Emocionado"; IterTask.CanSpeed = false; IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_SUENO"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "\u00BFNo ser\u00EDa mejor elegir 'VER'?", ""); IterTask.AddMsg("Wouldn't it be better to choose 'See'?"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "No es necesario llevarmelo", ""); IterTask.AddMsg("I don't need to take it with me"); _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("DECIDE_HECHIZO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@REPARO_ESPEJO", "COMENTA_YAREPARO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_YAREPARO", "PANEL", 0, "Ya no es necesario hacerle un hechizo al espejo", ""); IterTask.AddMsg("It's already fixed..."); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_REPARO", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("COMENTA_NO_AYUDA", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", ""); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOVIE", "", ""); IterTask.Position = "RIGHT"; IterTask.MovieName = "mcGuiaHechizo"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GRITA_REPARO", "PANEL", 0, "\u00A1Reparo!", "CAMINAR"); IterTask.AddMsg("Reparo!"); IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("REPARA_ESPEJO", "MOVIE_ITEM", "GOTOANDSTOP", "", "GRITA_REPARO"); IterTask.ItemName = "ESPEJO"; IterTask.MovieFrame = "Reparado"; IterTask.AnimationMode = "ASYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("REPARO_ESPEJO", "ACTION", "ADD", "REPARO_ESPEJO", "REPARA_ESPEJO"); IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "REPARA_ESPEJO"); IterTask.AddParentName("ESTIRA_VARITA"); IterTask = _local2.AddTask("COMENTA_WALL", "PANEL", 0, "\u00A1Este hechizo est\u00E1 de pelos!", "ORIENTA_OBAMA"); IterTask.AddParentName("REPARA_ESPEJO"); IterTask.AddMsg("I kinda like this one!"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA"); _local3 = AddItem("mcFlechaAbajo", "FLECHA", "W", "Salir"); _local2 = _local3.AddFriend("MOUSE"); _local2.AddMsg("Leave"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "FRONT"; IterTask = _local2.AddTask("SALIR_CASA", "SCENE", "", "PUERTA_ESPEJO", "CAMINAR"); IterTask.MovieName = "mcPuertaEspejo.mcFlechaArriba.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "FRONT"; mcEspejoRoom.mcGuiaHechizo._visible = false; mcEspejoRoom.mcUnicornio._visible = false; mcEspejoRoom.mcAuxiliarCola._visible = false; mcEspejoRoom.mcGuiaCola._visible = false; var _local5; } function SF_Nick_roomTasks() { var _local3; var _local2; var _local4; curScene = GetSceneByName("NICK_ROOM"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); _local3 = AddItem(undefined, "DELAY_NICK_ROOM", "D"); _local2 = _local3.AddFriend("DELAY_NICK_ROOM_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendNick_room = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryNick_room", "I"); _local3 = AddItem(undefined, "MouseNick_room", "M"); _local3 = AddItem("mcWalkRange", "TerrenoNick_room", "T"); _local2 = _local3.AddFriend("MouseNick_room", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_NICK_ROOM", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_NICK_ROOM", "Normal", "Front"); _local3 = AddItem("mcNick", "NICK", "W", "Un fantasma"); _local3.AddMsg("A ghost"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Se le v\u00E9 muy tranquilo", ""); IterTask.AddMsg("He looks peaceful"); IterTask = _local2.AddTask("HABLAR", "WALK", "TARGET", "", ""); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("DECIDE_SALUDAR", "CONDITIONAL", "", "", "HABLAR"); IterTask.AddCondition("HAVE@SALUDO_NICK", "DECIDE_DIALOGO"); IterTask.AddCondition("ELSE", "SALUDA"); IterTask = _local2.AddTask("SALUDA", "PANEL", 0, "Buenas tardes distinguido caballero", ""); IterTask.AddMsg("Good Afternoon, distinguished gentleman"); IterTask = _local2.AddTask("SALUDO_NICK", "ACTION", "ADD", "SALUDO_NICK", "SALUDA"); IterTask = _local2.AddTask("DECIDE_DIALOGO", "CONDITIONAL", "", "", "SALUDA"); IterTask.AddCondition("HAVE@ENTERO_PASSWORD", "DECISION_NICK2"); IterTask.AddCondition("ELSE", "DECISION_NICK1"); IterTask = _local2.AddTask("DECISION_NICK1", "TALK", "DIALOG", "DECISION_NICK1", ""); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("DECISION_NICK2", "TALK", "DIALOG", "DECISION_NICK2", ""); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Es imposible agarrar a un fantasma", ""); IterTask.AddMsg("Err... i can't grab a ghost"); _local3 = AddItem("mcFlechaIzquierda", "FLECHA_IZQUIERDA", "W", "Regresar"); _local3.AddMsg("Go Back"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("APANDA", "SCENE", "", "PUERTA_ESPEJO", "CAMINAR"); IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "LEFT"; IterTask.MovieName = "mcNickRoom.mcFlechaDerecha.mcTarget"; _local3 = AddItem("mcFlechaDerecha", "FLECHA_DERECHA", "W", "Avanzar"); _local3.AddMsg("Go forward"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("AOVAL2", "SCENE", "", "FAT_ROOM", "CAMINAR"); IterTask.MovieName = "mcFatRoom.mcFlechaIzquierda.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("FREE_WALK", "MOUSE_STATE", "WALK", "ENABLED", "AOVAL2"); var _local5; InitDialogoNick(); } function InitDialogoNick() { var _local1; Block = new objBlock("DECISION_NICK1", undefined, "", "O"); _local1 = Block.AddOption("\u00BFEs usted un fantasma de verdad?", "FANTASMA_1", false); _local1.AddMsg("Are you a real ghost?"); _local1 = Block.AddOption("\u00BFD\u00F3nde puedo encontrar a Voldemord?", "PUEDOENCONTRAR_1", false); _local1.AddMsg("Where can i find Voldemord?"); _local1 = Block.AddOption("\u00BFCu\u00E1l es su funci\u00F3n dentro de Hogwards?", "FUNCION_1", false); _local1.AddMsg("What's your function here in Hogwards?"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECISION_NICK2", undefined, "", "O"); _local1 = Block.AddOption("\u00BFSabe cu\u00E1l es la palabra secreta de la se\u00F1ora gorda?", "SABEPASSWORD_1", false); _local1.AddMsg("Do you know the password from the fat lady?"); _local1 = Block.AddOption("\u00BFD\u00F3nde puedo encontrar a Voldemord?", "PUEDOENCONTRAR_1", false); _local1.AddMsg("Where can i find Voldemord?"); _local1 = Block.AddOption("\u00BFCu\u00E1l es su funci\u00F3n dentro de Hogwards?", "FUNCION_1", false); _local1.AddMsg("What's your function here in Hogwards?"); BlockAdmin.AddBlock(Block); Block = new objBlock("FANTASMA_1", "MAIN", "FANTASMA_2", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("FANTASMA_2", "NICK", "FANTASMA_3", "B", "Arrochado", "Arrochado"); Block.Message = "Noooo..\u00A1que v\u00E1! me han ba\u00F1ado en harina y me han sujetado con un cable invisible ...."; Block.AddMsg("What does it look like?"); BlockAdmin.AddBlock(Block); Block = new objBlock("FANTASMA_3", "NICK", "FANTASMA_4", "B", "Arrochado", "Arrochado"); Block.Message = "Por supuesto que soy un fantasma de verdad ... y el m\u00E1s importante de Hogwards por cierto"; Block.AddMsg("Of course i'm a real ghost... and the most important of Hogwards by the way"); BlockAdmin.AddBlock(Block); Block = new objBlock("FANTASMA_4", "NICK", "FANTASMA_5", "B", "Asombrado", "Asombrado"); Block.Message = "\u00BFAcaso no ha o\u00EDdo usted hablar del gran Sir Nichol\u00E1s?"; Block.AddMsg("Haven't you heard about the great Sir Nichol\u00E1s"); BlockAdmin.AddBlock(Block); Block = new objBlock("FANTASMA_5", "MAIN", "LAST_OPTION", "B", "Emocionado", "Normal"); Block.Message = "Estee ... si si ... claro c\u00F3mo no"; Block.AddMsg("Errr... yeah... i have... of course"); BlockAdmin.AddBlock(Block); Block = new objBlock("FUNCION_1", "MAIN", "FUNCION_2", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("FUNCION_2", "NICK", "FUNCION_3", "B", "Emocionado", "Emocionado"); Block.Message = "\u00BFMi funci\u00F3n? \u00BFQu\u00E9 cu\u00E1l es mi funci\u00F3n? .... se v\u00E9 que no conoces nada de Hogwards jovencito"; Block.AddMsg("Function? What is my function?... You sure know nothing about Hogwards young man"); BlockAdmin.AddBlock(Block); Block = new objBlock("FUNCION_3", "NICK", "FUNCION_4", "B", "Emocionado", "Emocionado"); Block.Message = "Mi funci\u00F3n es la m\u00E1s importante de todo la escuela de Hogwards"; Block.AddMsg("My function is the most important of all Hogwards"); BlockAdmin.AddBlock(Block); Block = new objBlock("FUNCION_4", "MAIN", "FUNCION_5", "B", "Emocionado", "Emocionado"); Block.Message = "\u00BFY cu\u00E1l es?"; Block.AddMsg("And what function is that?"); BlockAdmin.AddBlock(Block); Block = new objBlock("FUNCION_5", "NICK", "FUNCION_6", "B", "Alegre", "Alegre"); Block.Message = "\u00BFMi funci\u00F3n? Estee ... me creer\u00E1 si le digo que he olvidado cu\u00E1l era mi funci\u00F3n"; Block.AddMsg("My function?.. Err... You wouldn't believe me if i tell you i forgot, would you?"); BlockAdmin.AddBlock(Block); Block = new objBlock("FUNCION_6", "MAIN", "LAST_OPTION", "B", "Alegre", "Normal"); Block.Message = "Si le creo .. no se preocupe ... le sucede a los mejores fantasmas"; Block.AddMsg("Sigh... i'd believe you, don't worry... it happens to the greatest ghosts in Hogwards..."); BlockAdmin.AddBlock(Block); Block = new objBlock("PUEDOENCONTRAR_1", "MAIN", "PUEDOENCONTRAR_2", "B", "Alegre", "Alegre"); BlockAdmin.AddBlock(Block); Block = new objBlock("PUEDOENCONTRAR_2", "NICK", "PUEDOENCONTRAR_3", "B", "Asombrado", "Asombrado"); Block.Message = "No menciones el nombre del se\u00F1or tenebroso dentro de Hogwards ... es peligroso"; Block.AddMsg("Don't mention the name of the Dark Lord inside Hogwards... it's dangerous"); BlockAdmin.AddBlock(Block); Block = new objBlock("PUEDOENCONTRAR_3", "NICK", "PUEDOENCONTRAR_4", "B", "Asombrado", "Asombrado"); Block.Message = "Aunque puedo decirte que escuche por all\u00ED que est\u00E1 escondido en una isla oculta"; Block.AddMsg("Although i can tell you i heard he's hiding in a island"); BlockAdmin.AddBlock(Block); Block = new objBlock("PUEDOENCONTRAR_4", "NICK", "PUEDOENCONTRAR_5", "B", "Asombrado", "Asombrado"); Block.Message = "El \u00FAnico que conoce su paradero es Peter Pettipuff, pero nadie sabe donde est\u00E1"; Block.AddMsg("The only one who can tell you his whereabouts is Peter Pettipuff, but no one knows where is he"); BlockAdmin.AddBlock(Block); Block = new objBlock("PUEDOENCONTRAR_5", "NICK", "PUEDOENCONTRAR_6", "B", "Alegre", "Alegre"); Block.Message = "Si yo fuera t\u00FA tratar\u00EDa de alejarme del se\u00F1or oscuro antes de querer encontrarlo"; Block.AddMsg("If i were you, i'd try to stay away from the Dark Lord rather than find him"); BlockAdmin.AddBlock(Block); Block = new objBlock("PUEDOENCONTRAR_6", "MAIN", "PUEDOENCONTRAR_7", "B", "Triste", "Triste"); Block.Message = "Es que tengo que recuperar la moneda m\u00E1gica, el mundo muggle depende de ello."; Block.AddMsg("I got to find the magic coin, the muggle world depends on it"); BlockAdmin.AddBlock(Block); Block = new objBlock("PUEDOENCONTRAR_7", "NICK", "LAST_OPTION", "B", "Triste", "Normal"); Block.Message = "Bueno suerte entonces"; Block.AddMsg("Well, good luck then"); BlockAdmin.AddBlock(Block); Block = new objBlock("SABEPASSWORD_1", "MAIN", "SABEPASSWORD_2", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("SABEPASSWORD_2", "NICK", "SABEPASSWORD_3", "B", "Triste", "Triste"); Block.Message = "\u00BFLa palabra secreta? Hmmm... realmente no la s\u00E9 ..."; Block.AddMsg("Password? Hmm... i really don't know"); BlockAdmin.AddBlock(Block); Block = new objBlock("SABEPASSWORD_3", "NICK", "SABEPASSWORD_4", "B", "Alegre", "Alegre"); Block.Message = "Pero he escuchado que la se\u00F1ora gorda siempre la escribe en las paredes cerca a su cuadro"; Block.AddMsg("Although i've heard she always writes on the walls near her picture"); BlockAdmin.AddBlock(Block); Block = new objBlock("SABEPASSWORD_4", "MAIN", "LAST_OPTION", "B", "Alegre", "Normal"); Block.Message = "Gracias por el dato"; Block.AddMsg("Thanks for the tip"); BlockAdmin.AddBlock(Block); } function SF_Fat_roomTasks() { var _local3; var _local2; var _local5; curScene = GetSceneByName("FAT_ROOM"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("INICIO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("GANA_CAPA", "INV", "ITEM", "ADD", "INICIO"); IterTask.ItemName = "CAPA"; IterTask = _local2.AddTask("GANA_LIBRO", "INV", "ITEM", "ADD", "INICIO"); IterTask.ItemName = "LIBRO_AZUL"; IterTask = _local2.AddTask("GANA_ACCIO", "ACTION", "ADD", "TIENE_ACCIO", "INICIO"); IterTask = _local2.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "INICIO"); IterTask.ItemName = "VARITA"; IterTask = _local2.AddTask("GANA_REVELUM", "ACTION", "ADD", "TIENE_REVELUM", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_RELASHIO", "ACTION", "ADD", "TIENE_RELASHIO", "GANA_ACCIO"); _local3 = AddItem(undefined, "DELAY_FAT_ROOM", "D"); _local2 = _local3.AddFriend("DELAY_FAT_ROOM_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendFat_room = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryFat_room", "I"); _local3 = AddItem(undefined, "MouseFat_room", "M"); _local3 = AddItem("mcWalkRange", "TerrenoFat_room", "T"); _local2 = _local3.AddFriend("MouseFat_room", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_FAT_ROOM", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_FAT_ROOM", "Normal", "Front"); _local3 = AddItem("mcBooks", "LIBROS", "W", "Unos libros"); _local3.AddMsg("Some books"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Unos libros", ""); IterTask.AddMsg("Some books"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "\u00BFNo ser\u00EDa mejor leerlos?", ""); IterTask.AddMsg("Wouldn't it be better to read them?"); IterTask = _local2.AddTask("AGARRAR", "WALK", "TARGET", "", ""); IterTask.Position = "BACK"; IterTask = _local2.AddTask("OCULTA_LIBROS", "MOVIE_ITEM", "VISIBLE", false, "AGARRAR"); IterTask.ItemName = "LIBROS"; IterTask = _local2.AddTask("GANA_LIBRO_VERDE", "INV", "ITEM", "ADD", "AGARRAR"); IterTask.ItemName = "LIBRO_VERDE"; IterTask = _local2.AddTask("GANA_LIBRO_ROJO", "INV", "ITEM", "ADD", "AGARRAR"); IterTask.ItemName = "LIBRO_ROJO"; IterTask = _local2.AddTask("CAMBIA_COLOR", "ITEM_PROPERTY", "GRAPH_FRAME", "Rojo", "AGARRAR"); IterTask.ItemName = "LIBRO_ROJO"; IterTask = _local2.AddTask("GANA_LIBRO_AZUL", "INV", "ITEM", "ADD", "AGARRAR"); IterTask.ItemName = "LIBRO_AZUL"; IterTask = _local2.AddTask("CAMBIA_COLOR", "ITEM_PROPERTY", "GRAPH_FRAME", "Azul", "AGARRAR"); IterTask.ItemName = "LIBRO_AZUL"; IterTask = _local2.AddTask("GANA_LIBRO_NEGRO", "INV", "ITEM", "ADD", "AGARRAR"); IterTask.ItemName = "LIBRO_NEGRO"; IterTask = _local2.AddTask("CAMBIA_COLOR", "ITEM_PROPERTY", "GRAPH_FRAME", "Negro", "AGARRAR"); IterTask.ItemName = "LIBRO_NEGRO"; _local3 = AddItem("mcLibroVerde", "LIBRO_VERDE", "W", "Un libro verde"); _local3.ExportMovieName = "mcLibro"; _local3.AddMsg("A green book"); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("INVENTORY"); IterTask = _local2.AddTask("VER_STORY", "SCREEN", "", "", "START_INV"); IterTask.MovieName = "mcDeskStory"; IterTask = _local2.AddTask("CAMBIA_INFO_LIBRO", "ITEM_PROPERTY", "INFO", "Hogwards: Leyendas Urbanas", "VER_STORY"); IterTask.AddMsg("Hogwards: Urban Legends"); IterTask.ItemName = "LIBRO_VERDE"; IterTask = _local2.AddTask("SONIDO_PAGINA", "SOUND", "ASINCRONO", "", ""); IterTask.SoundName = "page_turn"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; _local3 = AddItem("mcLibroRojo", "LIBRO_ROJO", "W", "Un libro rojo"); _local3.ExportMovieName = "mcLibro"; _local3.AddMsg("A red book"); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("INVENTORY"); IterTask = _local2.AddTask("VER_STORY", "SCREEN", "", "", "START_INV"); IterTask.MovieName = "mcPotionsBook"; IterTask = _local2.AddTask("CAMBIA_INFO_LIBRO", "ITEM_PROPERTY", "INFO", "Pociones M\u00E1gicas II", "VER_STORY"); IterTask.AddMsg("Magical Potions II"); IterTask.ItemName = "LIBRO_ROJO"; IterTask = _local2.AddTask("SONIDO_PAGINA", "SOUND", "ASINCRONO", "", ""); IterTask.SoundName = "page_turn"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; _local3 = AddItem("mcLibroAzul", "LIBRO_AZUL", "W", "Un libro azul"); _local3.ExportMovieName = "mcLibro"; _local3.AddMsg("A blue book"); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("INVENTORY"); IterTask = _local2.AddTask("VER_STORY", "SCREEN", "", "", "START_INV"); IterTask.MovieName = "mcSpellsBook"; IterTask = _local2.AddTask("CAMBIA_INFO_LIBRO", "ITEM_PROPERTY", "INFO", "El Libro General de Hechizos", "VER_STORY"); IterTask.AddMsg("The Standard Book of Spells"); IterTask.ItemName = "LIBRO_AZUL"; IterTask = _local2.AddTask("SONIDO_PAGINA", "SOUND", "ASINCRONO", "", ""); IterTask.SoundName = "page_turn"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; _local3 = AddItem("mcLibroNegro", "LIBRO_NEGRO", "W", "Un libro negro"); _local3.ExportMovieName = "mcLibro"; _local3.AddMsg("A black book"); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("INVENTORY"); IterTask = _local2.AddTask("VER_STORY", "SCREEN", "", "", "START_INV"); IterTask.MovieName = "mcDarkBook"; IterTask = _local2.AddTask("CAMBIA_INFO_LIBRO", "ITEM_PROPERTY", "INFO", "Las Artes Oscuras: Gu\u00EDa de Autoprotecci\u00F3n", "VER_STORY"); IterTask.AddMsg("The Dark Forces: A Guide to Self-Protection"); IterTask.ItemName = "LIBRO_NEGRO"; IterTask = _local2.AddTask("SONIDO_PAGINA", "SOUND", "ASINCRONO", "", ""); IterTask.SoundName = "page_turn"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; _local3 = AddItem("mcAuxiliarPassword", "AUXILIAR_PASSWORD", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("CAMINA_PASSWORD", "WALK", "MOVIE", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask.MovieName = "mcGuiaPassword"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("MUESTRA_PASSWORD", "SCREEN", "", "", "CAMINA_PASSWORD"); IterTask.MovieName = "mcPassword"; IterTask = _local2.AddTask("VIO_PASSWORD", "ACTION", "ADD", "VIO_PASSWORD", "MUESTRA_PASSWORD"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "MUESTRA_PASSWORD"); IterTask = _local2.AddTask("COMENTA_SABE_PWD", "PANEL", 0, "Encontr\u00E9 la palabra secreta", "MUESTRA_PASSWORD", "SCREEN"); IterTask.AddMsg("I found the password!"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; _local3 = AddItem("mcFatLady", "FAT_LADY", "W", "Un cuadro"); _local3.AddMsg("A portrait"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un cuadro de una se\u00F1ora gorda sonriendo", ""); IterTask.AddMsg("A picture of some fat lady smiling"); IterTask = _local2.AddTask("HABLAR", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@ABRIO_CUADRO", "NO_MOLESTO"); IterTask.AddCondition("ELSE", "HABLAR2"); IterTask = _local2.AddTask("NO_MOLESTO", "PANEL", 0, "Mejor ya no la molesto", "VIO_PASSWORD"); IterTask.AddMsg("I better stop bugging her"); IterTask = _local2.AddTask("HABLAR2", "WALK", "TARGET", "", ""); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("DECIDE_HABLAR", "CONDITIONAL", "", "", "HABLAR2"); IterTask.AddCondition("DONTHAVE@VIO_PASSWORD", "DIALOGO1"); IterTask.AddCondition("ELSE", "DIALOGO2"); IterTask = _local2.AddTask("DIALOGO1", "TALK", "DIALOG", "DECISION_GORDA1", ""); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("DIALOGO2", "TALK", "DIALOG", "DECISION_GORDA3", ""); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("DIJO_PASSWORD", "ACTION", "ADD", "DIJO_PASSWORD", ""); IterTask = _local2.AddTask("ENTERO_PASSWORD", "ACTION", "ADD", "ENTERO_PASSWORD", ""); IterTask = _local2.AddTask("DECIDE_ABRIR", "CONDITIONAL", "", "", "DIALOGO2"); IterTask.AddCondition("HAVE@DIJO_PASSWORD", "ABRIR"); IterTask.AddCondition("ELSE", "NADA"); IterTask = _local2.AddTask("ABRIR", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("ABRIR2", "MOVIE_ITEM", "GOTOANDPLAY", "", "ABRIR"); IterTask.ItemName = "FAT_LADY"; IterTask.MovieFrame = "Abre"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("ABRIO_CUADRO", "ACTION", "ADD", "ABRIO_CUADRO", "ABRIR2"); IterTask = _local2.AddTask("MUESTRA_FLECHA", "MOVIE_ITEM", "VISIBLE", true, "ABRIR2"); IterTask.ItemName = "FLECHA_GORDA"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "MUESTRA_FLECHA"); IterTask = _local2.AddTask("COMENTA_PUERTA", "PANEL", 0, "Es muy \u00E1gil est\u00E1 se\u00F1ora gorda", "ABRIR2"); IterTask.AddMsg("Hmm, she's quite agile"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Ser\u00EDa de mala educaci\u00F3n hacer eso", ""); IterTask.AddMsg("It would be rude to do that"); _local3 = AddItem("mcFlechaIzquierda", "FLECHA_IZQUIERDA", "W", "Regresar"); _local3.AddMsg("Go Back"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("APANDA", "SCENE", "", "NICK_ROOM", "CAMINAR"); IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "LEFT"; IterTask.MovieName = "mcNickRoom.mcFlechaDerecha.mcTarget"; _local3 = AddItem("mcFlechaDerecha", "FLECHA_DERECHA", "W", "Avanzar"); _local3.AddMsg("Go forward"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("DECIDE_ABRE_PUERTA_FISH", "CONDITIONAL", "", "", "CAMINAR"); IterTask.AddCondition("HAVE@ABRIO_PUERTA_FILCH", "A_FILCH"); IterTask.AddCondition("ELSE", "ABRE_PUERTA_FILCH"); IterTask = _local2.AddTask("ABRE_PUERTA_FILCH", "MOVIE_ITEM", "GOTOANDSTOP", "", ""); IterTask.ItemName = "PUERTA_FILCH"; IterTask.MovieFrame = "Abierta"; IterTask.AnimationMode = "ASYNC"; IterTask = _local2.AddTask("ABRIO_PUERTA_FILCH", "ACTION", "ADD", "ABRIO_PUERTA_FILCH", "ABRE_PUERTA_FILCH"); IterTask = _local2.AddTask("A_FILCH", "SCENE", "", "FILCH", ""); IterTask.AddFinishParentName("ABRE_PUERTA_FILCH"); IterTask.MovieName = "mcFilch.mcFlechaIzquierda.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("DECIDE_CAPTURA", "CONDITIONAL", "", "", "A_FILCH"); IterTask.AddCondition("HAVE@PUSO_CAPA", "FREEMOUSE"); IterTask.AddCondition("ELSE", "AMPAY"); IterTask = _local2.AddTask("AMPAY", "DUMMY", "", "", ""); IterTask = _local2.AddTask("SONIDO_FILCH", "SOUND", "SINCRONO", "", "AMPAY"); IterTask.SoundName = "filch"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local2.AddTask("GRITA_FILCH", "TALK", "DIALOG", "CAPTURA_1", "AMPAY"); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("MUESTRA_OBAMAFILCH", "SCREEN", "", "", "GRITA_FILCH"); IterTask.MovieName = "mcObamaFilch"; IterTask = _local2.AddTask("A_FAT", "SCENE", "", "FAT_ROOM", "GRITA_FILCH"); IterTask.MovieName = "mcFatRoom.mcFlechaDerecha.mcTarget"; IterTask.Position = "FRONT"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "A_FAT"); _local3 = AddItem("mcHuecoCuadro", "HUECO_CUADRO", "W", "Entrar"); _local3.AddMsg("Enter"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_PERSONA", "CHAR_DIRECTION", "", "LEFT", "CAMINAR"); IterTask = _local2.AddTask("ENTRA_CUADRO", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "EntraCuadro"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("ENTRAR_CASA", "SCENE", "", "CUARTO_HARRY", "ENTRA_CUADRO"); IterTask.MovieName = "mcCuartoHarry.mcFlechaAbajo.mcTarget"; IterTask.Transition = false; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "BACK"; mcFatRoom.mcGuiaFat._visible = false; mcFatRoom.mcCuartoHarryCartel.gotoAndStop(Language); mcFatRoom.mcGuiaPassword._visible = false; var _local4; _local4 = GetSceneByName("FAT_ROOM").AddSortRule("GORDA"); _local4.AddItem("FAT_LADY"); _local4.AddItem("HUECO_CUADRO"); InitDialogoFatLady(); } function InitDialogoFatLady() { var _local1; Block = new objBlock("DECISION_GORDA1", undefined, "", "O"); _local1 = Block.AddOption("\u00BFPodr\u00EDa dejarme entrar?", "DEJARENTRAR_1", false); _local1.AddMsg("Could you let me through?"); _local1 = Block.AddOption("Bonito vestido", "VESTIDO_1", false); _local1.AddMsg("Nice dress"); _local1 = Block.AddOption("\u00BFNo se aburre de estar todo el tiempo en el cuadro?", "ABURRE_1", false); _local1.AddMsg("Don't you get bored?"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECISION_GORDA2", undefined, "", "O"); _local1 = Block.AddOption("\u00BFMe puede decir la palabra secreta?", "DECIRPASSWORD_1", false); _local1.AddMsg("Can you tell me the password?"); _local1 = Block.AddOption("Bonito vestido", "VESTIDO_1", false); _local1.AddMsg("Nice dress"); _local1 = Block.AddOption("\u00BFNo se aburre de estar todo el tiempo en el cuadro?", "ABURRE_1", false); _local1.AddMsg("Don't you get bored?"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECISION_GORDA3", undefined, "", "O"); _local1 = Block.AddOption("\u00BFPodr\u00EDa dejarme entrar?", "DEJARENTRARB_1", false); _local1.AddMsg("Could you let me through?"); _local1 = Block.AddOption("Bonito vestido", "VESTIDO_1", false); _local1.AddMsg("Nice dress"); _local1 = Block.AddOption("\u00BFNo se aburre de estar todo el tiempo en el cuadro?", "ABURRE_1", false); _local1.AddMsg("Don't you get bored?"); BlockAdmin.AddBlock(Block); Block = new objBlock("DEJARENTRARB_1", "MAIN", "DEJARENTRARB_2", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("DEJARENTRARB_2", "FAT_LADY", "DEJARENTRARB_3", "B", "Arrochado", "Arrochado"); Block.Message = "Primero dime la palabra secreta"; Block.TaskToLunchAtEnd = "ENTERO_PASSWORD"; Block.AddMsg("First tell me the password"); BlockAdmin.AddBlock(Block); Block = new objBlock("DEJARENTRARB_3", "MAIN", "DECISION_PASSWORD2", "B", "Arrochado", "Emocionado"); Block.Message = "esteee ... \u00BFPalabra secreta? ... si como no ... ahorita le digo"; Block.AddMsg("Hmmm... password?... yeah right, one second..."); BlockAdmin.AddBlock(Block); Block = new objBlock("DECISION_PASSWORD", undefined, "", "O"); _local1 = Block.AddOption("Abrete S\u00E9samo", "SESAMO_1", false); _local1.AddMsg("Open Sesame"); _local1 = Block.AddOption("Facebook", "FACEBOOK_1", false); _local1.AddMsg("Jonas brothers?"); _local1 = Block.AddOption("123", "123_1", false); _local1.AddMsg("123?"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECISION_PASSWORD2", undefined, "", "O"); _local1 = Block.AddOption("Abrete S\u00E9samo", "SESAMO_1", false); _local1.AddMsg("Open Sesame"); _local1 = Block.AddOption("Michael", "MICHAEL_1", false); _local1.AddMsg("Michael"); _local1 = Block.AddOption("123", "123_1", false); _local1.AddMsg("123?"); BlockAdmin.AddBlock(Block); Block = new objBlock("SESAMO_1", "MAIN", "PASSWORD_INCORRECTO", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("FACEBOOK_1", "MAIN", "PASSWORD_INCORRECTO", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("123_1", "MAIN", "PASSWORD_INCORRECTO", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("MICHAEL_1", "MAIN", "PASSWORD_CORRECTO", "B", "Emocionado", "Emocionado"); Block.StartLock = true; Block.TaskToLunchAtEnd = "DIJO_PASSWORD"; BlockAdmin.AddBlock(Block); Block = new objBlock("PASSWORD_CORRECTO", "FAT_LADY", "", "B", "Alegre", "Normal"); Block.Message = "Felicidades, la palabra es correcta ... ahora te dejar\u00E9 entrar"; Block.AddMsg("Congratulations, the password is correct"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); Block = new objBlock("PASSWORD_INCORRECTO", "FAT_LADY", "DISCULPE", "B", "Arrochado", "Arrochado"); Block.Message = "Ese no es el password, no trate de sorprenderme o llamo al guardi\u00E1n"; Block.AddMsg("That's not the password, don't try to cheat or i'll call the guard"); BlockAdmin.AddBlock(Block); Block = new objBlock("DISCULPE", "MAIN", "", "B", "Arrochado", "Normal"); Block.Message = "Este ... no s\u00E9 c\u00F3mo pude equivocarme ... je je disculpe usted"; Block.AddMsg("Err... i'm sorry, my mistake"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); Block = new objBlock("DEJARENTRAR_1", "MAIN", "DEJARENTRAR_2", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("DEJARENTRAR_2", "FAT_LADY", "DEJARENTRAR_3", "B", "Arrochado", "Arrochado"); Block.Message = "Primero dime la palabra secreta"; Block.TaskToLunchAtEnd = "ENTERO_PASSWORD"; Block.AddMsg("First tell me the password"); BlockAdmin.AddBlock(Block); Block = new objBlock("DEJARENTRAR_3", "MAIN", "DECISION_PASSWORD", "B", "Arrochado", "Emocionado"); Block.Message = "esteee ... \u00BFPalabra secreta? ... si como no ... ahorita le digo"; Block.AddMsg("Hmmm... password?... yeah right, one second..."); BlockAdmin.AddBlock(Block); Block = new objBlock("DECIRPASSWORD_1", "MAIN", "DECIRPASSWORD_2", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECIRPASSWORD_2", "FAT_LADY", "DECIRPASSWORD_3", "B", "Emocionado", "Emocionado"); Block.Message = "De ninguna manera, va contra las reglas de Hogwards"; Block.AddMsg("No way, that's against the rules"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECIRPASSWORD_3", "MAIN", "DECIRPASSWORD_4", "B", "Emocionado", "Emocionado"); Block.Message = "Le prometo que si me la dice, no le dir\u00E9 a nadie que viol\u00F3 las reglas"; Block.AddMsg("I promise if you tell me i won't tell anyone you broke the rules"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECIRPASSWORD_4", "FAT_LADY", "DECIRPASSWORD_5", "B", "Asustado", "Asustado"); Block.Message = "No insista por favor o llamar\u00E9 al guardi\u00E1n"; Block.AddMsg("Don't insist or i'll call the guard"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECIRPASSWORD_5", "MAIN", "", "B", "Emocionado", "Normal"); Block.Message = "Ok ok ... no se moleste"; Block.AddMsg("Ok ok... calm down"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); Block = new objBlock("VESTIDO_1", "MAIN", "VESTIDO_2", "B", "Alegre", "Alegre"); BlockAdmin.AddBlock(Block); Block = new objBlock("VESTIDO_2", "FAT_LADY", "VESTIDO_3", "B", "Arrochado", "Arrochado"); Block.Message = "\u00BFPretende adularme para obtener de m\u00ED alg\u00FAn favor?"; Block.AddMsg("Stop with the flattering, will you"); BlockAdmin.AddBlock(Block); Block = new objBlock("VESTIDO_3", "MAIN", "VESTIDO_4", "B", "Arrochado", "Arrochado"); Block.Message = "No .. yo ... la verdad ... solo dec\u00EDa que el vestido era bonito"; Block.AddMsg("Err... I just... was saying your dress was pretty"); BlockAdmin.AddBlock(Block); Block = new objBlock("VESTIDO_4", "FAT_LADY", "VESTIDO_5", "B", "Arrochado", "Arrochado"); Block.Message = "Le advierto que eso no funciona conmigo ... circule por favor"; Block.AddMsg("I'm warning you that won't work with me"); BlockAdmin.AddBlock(Block); Block = new objBlock("VESTIDO_5", "MAIN", "", "B", "Arrochado", "Normal"); Block.Message = "Disculpe usted ..."; Block.AddMsg("Im sorry"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); Block = new objBlock("ABURRE_1", "MAIN", "ABURRE_2", "B", "Malevolo", "Malevolo"); BlockAdmin.AddBlock(Block); Block = new objBlock("ABURRE_2", "FAT_LADY", "ABURRE_3", "B", "Asombrado", "Asombrado"); Block.Message = "Bueno, aunque usted no lo crea este trabajo es divertido"; Block.AddMsg("Well, believe it or not, this job is not boring"); BlockAdmin.AddBlock(Block); Block = new objBlock("ABURRE_3", "MAIN", "ABURRE_4", "B", "Asombrado", "Asombrado"); Block.Message = "\u00BFDivertido? ... \u00BFC\u00F3mo as\u00ED?"; Block.AddMsg("Ohh yea? How so?"); BlockAdmin.AddBlock(Block); Block = new objBlock("ABURRE_4", "FAT_LADY", "ABURRE_5", "B", "Arrochado", "Arrochado"); Block.Message = "Me divierte cuando alguien quiere entrar y no sabe la palabra secreta ... ji ji ji"; Block.AddMsg("It amuses me when someone wants to get in but doesn't know the password... like you, he he he"); BlockAdmin.AddBlock(Block); Block = new objBlock("ABURRE_5", "MAIN", "LAST_OPTION", "B", "Arrochado", "Normal"); Block.Message = "Se aprovechan de mi nobleza"; Block.AddMsg("Didn't see that coming"); BlockAdmin.AddBlock(Block); } function SF_Cuarto_harryTasks() { var _local3; var _local2; var _local5; curScene = GetSceneByName("CUARTO_HARRY"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("GANA_ACCIO", "ACTION", "ADD", "TIENE_ACCIO", "START"); IterTask = _local2.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "VARITA"; IterTask = _local2.AddTask("GANA_CALAVERA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "CALAVERA_AMARILLA"; IterTask = _local2.AddTask("GANA_REVELUM", "ACTION", "ADD", "TIENE_REVELUM", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_RELASHIO", "ACTION", "ADD", "TIENE_RELASHIO", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_RELASHIO", "ACTION", "ADD", "TIENE_RELASHIO", "GANA_ALOHOMORA"); IterTask = _local2.AddTask("GANA_PLUMA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "PLUMA_FENIX"; IterTask = _local2.AddTask("GANA_TINTA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "TINTA"; IterTask = _local2.AddTask("GANA_LION", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "LION_SHIELD"; IterTask = _local2.AddTask("AFLOJO_BAUL", "ACTION", "ADD", "AFLOJO_BAUL", "GANA_ACCIO"); IterTask = _local2.AddTask("AGREGA_FLECHAS_RESTRICCION", "ITEM_RESTRICTION", "ADD", "FLECHA%", "GANA_ACCIO"); IterTask = _local2.AddTask("AGREGA_TERRENO_RESTRICCION", "ITEM_RESTRICTION", "ADD", "TERRENO%", "GANA_ACCIO"); IterTask = _local2.AddTask("AGREGA_CAPA_RESTRICCION", "ITEM_RESTRICTION", "ADD", "CAPA", "GANA_ACCIO"); IterTask = _local2.AddTask("AGREGA_CAPA_RESTRICCION", "ITEM_RESTRICTION", "ADD", "DELAY_RESTRICCION_CAPA", "GANA_ACCIO"); _local3 = AddItem(undefined, "DELAY_RESTRICCION_CAPA", "D"); _local2 = _local3.AddFriend("DELAY_RESTRICCION_CAPA", "", ""); IterTask = _local2.AddTask("COMENTA_RESTRICCION_CAPA", "PANEL", 0, "Para hacer eso antes debo quitarme la capa", "START"); IterTask.AddMsg("I can't do that while wearing the cloak"); IterTask.Position = "Front"; _local3 = AddItem(undefined, "DELAY_CUARTO_HARRY", "D"); _local2 = _local3.AddFriend("DELAY_CUARTO_HARRY_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendCuarto_harry = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryX", "I"); _local3 = AddItem(undefined, "MouseCuarto_harry", "M"); _local3 = AddItem("mcWalkRange", "TerrenoCuarto_harry", "T"); _local2 = _local3.AddFriend("MouseCuarto_harry", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_CUARTO_HARRY", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_CUARTO_HARRY", "Normal", "Front"); _local3 = AddItem("mcBludger", "BLUDGER", "W", "Una pelota pesada"); _local3.AddMsg("A heavy ball"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una pelota para los juegos de Quidditch", ""); IterTask.AddMsg("A heavy ball for Quidditch games"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No creo que me responda", ""); IterTask.AddMsg("No way"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Est\u00E1 muy alto", ""); IterTask.AddMsg("It's too high"); _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_ACCIO", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("COMENTA_NOFUNCIONA", "PANEL", 0, "Ese hechizo no me traer\u00E1 la budger", ""); IterTask.AddMsg("I don't think that spell is gonna do any good"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", ""); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba2"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("LLAMA", "PANEL", 0, "\u00A1\u00A1\u00A1ACCIO BUDGER!!!", "CAMINAR"); IterTask.AddMsg("ACCIO BUDGER!!!"); IterTask = _local2.AddTask("BAJA_ITEM", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "ESTIRA_VARITA"); IterTask.ItemName = "BLUDGER"; IterTask.MovieFrame = "Baja"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GANA_ITEM", "INV", "ITEM", "ADD", "BAJA_ITEM"); IterTask.ItemName = "BLUDGER"; IterTask = _local2.AddTask("GANO_BLUDGER", "ACTION", "ADD", "GANO_BLUDGER", "BAJA_ITEM"); IterTask = _local2.AddTask("COMENTA_GANA", "PANEL", 0, "Esta budger est\u00E1 muy pesada", "GANA_ITEM"); IterTask.AddMsg("This budger is heavy as hell"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_GANA"); IterTask = _local2.AddTask("MANEJA_BUDGER_TROLL", "DELAY", "", 0, "START_INV"); IterTask.ItemName = "DELAY_TROLL_ROOM"; IterTask.FriendToLunch = "DELAY_BUDGER"; _local3 = AddItem("mcTinta", "TINTA", "W", "Un pomo de tinta"); _local3.AddMsg("An ink pot"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un pomo de tinta", ""); IterTask.AddMsg("Ink"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No lo creo", ""); IterTask.AddMsg("I don't think so"); IterTask = _local2.AddTask("AGARRAR", "WALK", "TARGET", "", ""); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("GANA_TINTA", "INV", "ITEM", "ADD", "AGARRAR"); IterTask.ItemName = "TINTA"; _local2 = _local3.AddFriend("PLUMA_FENIX"); IterTask = _local2.AddTask("DECIDE_AGREGAR_TINTA", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("HAVE@ESCRIBIO_OBAMA", "COMENTA_YA_ESCRIBIO"); IterTask.AddCondition("HAVE@AGREGO_TINTA", "COMENTA_YA_TIENE_TINTA"); IterTask.AddCondition("ELSE", "CAMBIA_INFO"); IterTask = _local2.AddTask("COMENTA_YA_ESCRIBIO", "PANEL", 0, "Ya escrib\u00ED lo que necesitaba", ""); IterTask.AddMsg("I already wrote what i needed"); IterTask = _local2.AddTask("COMENTA_YA_TIENE_TINTA", "PANEL", 0, "La pluma ya tiene tinta", ""); IterTask.AddMsg("There's already ink on the feather"); IterTask = _local2.AddTask("CAMBIA_INFO", "ITEM_PROPERTY", "INFO", "Pluma con tinta", ""); IterTask.AddMsg("Feather with ink"); IterTask.ItemName = "PLUMA_FENIX"; IterTask = _local2.AddTask("CAMBIA_TINTA", "ITEM_PROPERTY", "GRAPH_FRAME", "Tinta", "CAMBIA_INFO"); IterTask.ItemName = "PLUMA_FENIX"; IterTask = _local2.AddTask("AGREGO_TINTA", "ACTION", "ADD", "AGREGO_TINTA", "CAMBIA_TINTA"); _local3 = AddItem("mcLionShield", "LION_SHIELD", "W", ""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un s\u00EDmbolo pegado en la pared", ""); IterTask.AddMsg("A symbol stuck to the wall"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "Ni modo", ""); IterTask.AddMsg("Sure, let's talk to the inanimated object... sigh"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Esta demasiado alto", ""); IterTask.AddMsg("It's too high"); _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_ACCIO", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("COMENTA_NOFUNCIONA", "PANEL", 0, "No creo que ese hechizo resulte", ""); IterTask.AddMsg("i dont't think that spell will work"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", ""); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba3"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("LLAMA", "PANEL", 0, "\u00A1\u00A1\u00A1ACCIO!!!", "CAMINAR"); IterTask.CanSpeed = false; IterTask.AddMsg("ACCIO!!!"); IterTask.WaitFramesAtEnd = 20; IterTask = _local2.AddTask("COMENTA_NOFUNCIONA2", "PANEL", 0, "No funciona ... que raro, tendr\u00E9 que buscar la manera de subir", "LLAMA"); IterTask.AddMsg("It doesn't work, that's funny ... I'll have to find a way to go up"); IterTask.Expresion = "Triste"; IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NOFUNCIONA2"); _local2 = _local3.AddFriend("ESCOBA", "", ""); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("MONTA_ESCOBA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "SubeEscoba"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("VUELO1", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "MONTA_ESCOBA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VueloEscobaEscudo1"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("CAMBIO_INFO", "ITEM_PROPERTY", "INFO", "Placa de Le\u00F3n", "VUELO1"); IterTask.AddMsg("Lion Plaque"); IterTask.ItemName = "LION_SHIELD"; IterTask = _local2.AddTask("GANA_LEON", "INV", "ITEM", "ADD", "VUELO1"); IterTask.ItemName = "LION_SHIELD"; IterTask = _local2.AddTask("VUELO2", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "VUELO1"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VueloEscobaEscudo2"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("BAJA_ESCOBA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "VUELO2"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "BajaEscoba"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "BAJA_ESCOBA"); IterTask = _local2.AddTask("COMENTA_GANA", "PANEL", 0, "A eso llamo yo un vuelo veloz", "FREEMOUSE"); IterTask.AddMsg("You gotta admit that was cool"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; _local3 = AddItem("mcAuxiliarCajon2", "AUXILIAR_CAJON2", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("CALAVERA_AMARILLA", "", ""); IterTask = _local2.AddTask("DECIDE_PONER", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@ABRIO_CAJON1", "CAMINA_CAJON2"); IterTask.AddCondition("ELSE", "NADA"); IterTask = _local2.AddTask("CAMINA_CAJON2", "WALK", "ITEM", "", ""); IterTask.Position = "BACK"; IterTask.ItemName = "CAJON2"; IterTask = _local2.AddTask("PIERDE_CALAVERA", "INV", "ITEM", "DROP", "CAMINA_CAJON2"); IterTask.ItemName = "CALAVERA_AMARILLA"; IterTask = _local2.AddTask("PUSO_CALAVERA", "ACTION", "ADD", "PUSO_CALAVERA", "PIERDE_CALAVERA"); IterTask = _local2.AddTask("OCULTA_AUXILIAR2", "MOVIE_ITEM", "VISIBLE", false, "PUSO_CALAVERA"); IterTask.ItemName = "AUXILIAR_CAJON2"; IterTask = _local2.AddTask("CAJON_CALAVERA", "MOVIE_ITEM", "GOTOANDSTOP", "", "PIERDE_CALAVERA"); IterTask.ItemName = "CAJON2"; IterTask.MovieFrame = "CerrarCalavera"; IterTask.AnimationMode = "ASYNC"; _local3 = AddItem("mcAuxiliarCajon1", "AUXILIAR_CAJON1", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "CAMINA_CAJON1"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una rana sonriendo", ""); IterTask.AddMsg("A smiley frog"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "Los chocofrogs no hablan", ""); IterTask.AddMsg("Chocofrogs don't talk"); IterTask = _local2.AddTask("CAMINA_CAJON1", "WALK", "ITEM", "", ""); IterTask.Position = "BACK"; IterTask.ItemName = "CAJON1"; IterTask = _local2.AddTask("OCULTA_AUXILIAR1", "MOVIE_ITEM", "VISIBLE", false, "CAMINA_CAJON1"); IterTask.ItemName = "AUXILIAR_CAJON1"; IterTask = _local2.AddTask("CAJON1_VACIO", "MOVIE_ITEM", "GOTOANDSTOP", "", "OCULTA_AUXILIAR1"); IterTask.ItemName = "CAJON1"; IterTask.MovieFrame = "Abierto"; IterTask.AnimationMode = "ASYNC"; IterTask = _local2.AddTask("GANA_RANA", "INV", "ITEM", "ADD", "OCULTA_AUXILIAR1"); IterTask.ItemName = "CHOCOFROG"; IterTask = _local2.AddTask("GANO_RANA", "ACTION", "ADD", "GANO_RANA", "OCULTA_AUXILIAR1"); _local3 = AddItem("mcPergamino", "PERGAMINO", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Parece un papel viejo", ""); IterTask.AddMsg("An old paper"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No soy termita", ""); IterTask.AddMsg("Should i start chewing it?"); IterTask = _local2.AddTask("AGARRAR", "WALK", "TARGET", "", ""); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("GANA_PERGAMINO", "INV", "ITEM", "ADD", "AGARRAR"); IterTask.ItemName = "PERGAMINO"; IterTask = _local2.AddTask("CAMBIA_INFO", "ITEM_PROPERTY", "INFO", "Un trozo de papel viejo", "AGARRAR"); IterTask.AddMsg("A piece of paper"); IterTask.ItemName = "PERGAMINO"; _local2 = _local3.AddFriend("INVENTORY", "", ""); IterTask = _local2.AddTask("MENU1", "MENUINV", "", "", "START_INV"); IterMenu = IterTask.AddMenuItem("Ver", "DECIDE_VER"); IterMenu.AddMsg("Look"); IterMenu = IterTask.AddMenuItem("Entregar", "DRAG_ACTION"); IterMenu.AddMsg("Deliver"); IterTask = _local2.AddTask("DECIDE_VER", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@ESCRIBIO_OBAMA", "MUESTRA_PERGAMINO_OBAMA"); IterTask.AddCondition("HAVE@REVELO_LETRAS", "MUESTRA_PERGAMINO_LETRAS"); IterTask.AddCondition("ELSE", "MUESTRA_PERGAMINO_VACIO"); IterTask = _local2.AddTask("MUESTRA_PERGAMINO_VACIO", "SCREEN", "", "", ""); IterTask.MovieName = "mcPergaminoScreen"; IterTask.MovieFrame = "Normal"; IterTask = _local2.AddTask("COMENTA_OCULTO", "PANEL", 0, "Estoy seguro que hay algo oculto con magia en ese papel", "MUESTRA_PERGAMINO_VACIO"); IterTask.AddMsg("I'm sure there's something hidden with magic in this paper "); IterTask.CanSpeed = false; IterTask.Position = "Front"; IterTask = _local2.AddTask("MUESTRA_PERGAMINO_LETRAS", "SCREEN", "", "", ""); IterTask.MovieName = "mcPergaminoScreen"; IterTask.MovieFrame = "Revelado"; IterTask = _local2.AddTask("MUESTRA_PERGAMINO_OBAMA", "SCREEN", "", "", ""); IterTask.MovieName = "mcPergaminoScreen"; IterTask.MovieFrame = "Escrito"; _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("DECIDE_HECHIZO", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("HAVE@REVELO_LETRAS", "COMENTA_YA_REVELO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_YA_REVELO", "PANEL", 0, "Ya logr\u00E9 revelar el contenido del pergamino, no es necesario usar m\u00E1s magia", ""); IterTask.AddMsg("I already revealed the content of the paper, magic on it it's not necessary anymore"); IterTask.CanSpeed = false; IterTask.Position = "Front"; IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_REVELUM", "ROMPE_SCREEN_LAZO"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("COMENTA_NOFUNCIONA", "PANEL", 0, "Ese hechizo no es el adecuado", ""); IterTask.AddMsg("That's not the right spell"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("ROMPE_SCREEN_LAZO", "DUMMY", "", "", ""); IterTask = _local2.AddTask("MUESTRA_LETRAS", "SCREEN", "", "", "ROMPE_SCREEN_LAZO"); IterTask.MovieName = "mcPergaminoScreen"; IterTask.MovieFrame = "Revela"; IterTask = _local2.AddTask("REVELO_LETRAS", "ACTION", "ADD", "REVELO_LETRAS", "MUESTRA_LETRAS"); IterTask = _local2.AddTask("CAMBIA_ITEM_LETRAS", "ITEM_PROPERTY", "GRAPH_FRAME", "Revelado", "MUESTRA_LETRAS"); IterTask.ItemName = "PERGAMINO"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "MUESTRA_LETRAS"); _local2 = _local3.AddFriend("PLUMA_FENIX", "", ""); IterTask = _local2.AddTask("DECIDE_ESCRIBE", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("HAVE@ESCRIBIO_OBAMA", "COMENTA_YA_ESCRIBIO"); IterTask.AddCondition("DONTHAVE@REVELO_LETRAS", "COMENTA_PAPEL_BLANCO"); IterTask.AddCondition("DONTHAVE@AGREGO_TINTA", "COMENTA_PLUMA_NO_ESCRIBE"); IterTask.AddCondition("ELSE", "ESCRIBIR"); IterTask = _local2.AddTask("COMENTA_YA_ESCRIBIO", "PANEL", 0, "Ya escrib\u00ED lo necesario", ""); IterTask.AddMsg("I already wrote what i needed"); IterTask = _local2.AddTask("COMENTA_PAPEL_BLANCO", "PANEL", 0, "El pergamino est\u00E1 vac\u00EDo, no tiene caso escribir en \u00E9l", ""); IterTask.AddMsg("The paper is empty, it's pointless to write on it"); IterTask = _local2.AddTask("COMENTA_PLUMA_NO_ESCRIBE", "PANEL", 0, "La pluma no escribe a\u00FAn", ""); IterTask.AddMsg("Good idea, but i need to soak it in something first"); IterTask = _local2.AddTask("ESCRIBIR", "SCREEN", "", "", ""); IterTask.MovieName = "mcPergaminoScreen"; IterTask.MovieFrame = "Escribe"; IterTask = _local2.AddTask("ESCRIBIO_OBAMA", "ACTION", "ADD", "ESCRIBIO_OBAMA", "ESCRIBIR"); IterTask = _local2.AddTask("CAMBIA_INFO", "ITEM_PROPERTY", "INFO", "Pluma", "ESCRIBIO_OBAMA"); IterTask.AddMsg("Feather"); IterTask.ItemName = "PLUMA_FENIX"; IterTask = _local2.AddTask("CAMBIA_TINTA", "ITEM_PROPERTY", "GRAPH_FRAME", "Normal", "CAMBIA_INFO"); IterTask.ItemName = "PLUMA_FENIX"; _local3 = AddItem("mcComoda", "COMODA", "W", "C\u00F3moda"); _local3.DestroyMouseEvents(); _local3.AddMsg("Chest of drawers"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Mirar", "Una c\u00F3moda"); IterTask.AddMsg("A chest of drawers"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "Hablar", "Ni modo"); IterTask.AddMsg("No way"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Agarrar", "Es muy pesado"); IterTask.AddMsg("It's too heavy"); _local3 = AddItem("mcCapa", "CAPA", "W", "Capa"); _local3.AddMsg("Cloak"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una capa", ""); IterTask.AddMsg("A cloak"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No creo que pueda hablar con la capa", ""); IterTask.AddMsg("I don't like to talk to cloaks"); IterTask = _local2.AddTask("AGARRAR", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_BAUL", "WALK", "TARGET", "", "AGARRAR"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("AGACHA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA_BAUL"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "AgachaMedio"; IterTask.AnimationMode = "ASYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("AGARRA_CAPA", "INV", "ITEM", "ADD", "AGACHA"); IterTask.ItemName = "CAPA"; IterTask = _local2.AddTask("PARA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "AGARRA_CAPA"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "AGARRA_CAPA"); _local2 = _local3.AddFriend("INVENTORY", "", ""); IterTask = _local2.AddTask("DECIDE_MENU", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("HAVE@CAPA_ANULADA", "COMENTA"); IterTask.AddCondition("HAVE@PUSO_CAPA", "MENU2"); IterTask.AddCondition("ELSE", "MENU1"); IterTask = _local2.AddTask("COMENTA", "PANEL", 0, "En este lugar no puedo usar la capa", "FREEMOUSE"); IterTask.AddMsg("I can't use the cloak in this place"); IterTask.Position = "Front"; IterTask = _local2.AddTask("MENU1", "MENUINV", "", "", ""); IterMenu = IterTask.AddMenuItem("Usar", "USAR"); IterMenu.AddMsg("Use"); IterMenu = IterTask.AddMenuItem("Entregar", "DRAG_ACTION"); IterMenu.AddMsg("Deliver"); IterTask = _local2.AddTask("MENU2", "MENUINV", "", "", ""); IterMenu = IterTask.AddMenuItem("Quitar", "QUITAR"); IterMenu.AddMsg("Remove"); IterTask = _local2.AddTask("USAR", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("ORIENTA_DERECHA", "CHAR_DIRECTION", "", "RIGHT", "USAR"); IterTask = _local2.AddTask("PONECAPA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "USAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "PoneCapa"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("INVISIBLE", "MOVIE_ITEM", "ALPHA", 30, "PONECAPA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask = _local2.AddTask("EMPIEZA_RESTRICCION", "ITEM_RESTRICTION", "START", "", "PONECAPA"); IterTask.ItemName = "DELAY_RESTRICCION_CAPA"; IterTask.FriendToLunch = "DELAY_RESTRICCION_CAPA"; IterTask = _local2.AddTask("PARA_FRENTE", "CHAR_DIRECTION", "", "FRONT", "PONECAPA"); IterTask.Expresion = "Normal"; IterTask = _local2.AddTask("PUSO_CAPA", "ACTION", "ADD", "PUSO_CAPA", "PARA_FRENTE"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "PUSO_CAPA"); IterTask = _local2.AddTask("QUITAR", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("QUITARCAPA", "DUMMY", "", "", "QUITAR"); IterTask = _local2.AddTask("ORIENTA_DERECHA", "CHAR_DIRECTION", "", "RIGHT", "QUITARCAPA"); IterTask = _local2.AddTask("QUITA_CAPA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "QUITARCAPA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "SacaCapa"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("VISIBLE", "MOVIE_ITEM", "ALPHA", 100, "QUITARCAPA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask = _local2.AddTask("EMPIEZA_RESTRICCION", "ITEM_RESTRICTION", "END", "", "QUITA_CAPA"); IterTask = _local2.AddTask("PARA_FRENTE2", "CHAR_DIRECTION", "", "FRONT", "QUITA_CAPA"); IterTask.Expresion = "Normal"; IterTask = _local2.AddTask("QUITO_CAPA", "ACTION", "DROP", "PUSO_CAPA", "PARA_FRENTE2"); IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "QUITO_CAPA"); _local3 = AddItem("mcChocoFrog", "CHOCOFROG", "W", "Rana de Chocolate"); _local3.AddMsg("Chocolate Frog"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Se ven deliciosas", ""); IterTask.AddMsg("They look delicious"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "Esas ranas no responden", ""); IterTask.AddMsg("Chocolate Frogs don't talk"); IterTask = _local2.AddTask("AGARRAR", "WALK", "TARGET", "", ""); IterTask.Position = "BACK"; IterTask = _local2.AddTask("GANA_RANA", "INV", "ITEM", "ADD", "AGARRAR"); IterTask.ItemName = "CHOCOFROG"; _local2 = _local3.AddFriend("CUCHARON"); IterTask = _local2.AddTask("DECIDE_MOJAR", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("DONTHAVE@LLENO_CUCHARON", "LLENAR_CUCHARON"); IterTask.AddCondition("HAVE@MOJO_RANA", "YA_MOJERANA"); IterTask.AddCondition("ELSE", "MOJAR"); IterTask = _local2.AddTask("LLENAR_CUCHARON", "PANEL", 0, "\u00BFNo ser\u00EDa mejor llenar el cuchar\u00F3n primero?", ""); IterTask.AddMsg("Wouldn't it be better to fill the"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; IterTask = _local2.AddTask("YA_MOJERANA", "PANEL", 0, "La rana de chocolate ya est\u00E1 con poci\u00F3n", ""); IterTask.AddMsg("The chocofrog has potion on it already"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; IterTask = _local2.AddTask("MOJAR", "ITEM_PROPERTY", "GRAPH_FRAME", "Normal", ""); IterTask.ItemName = "CUCHARON"; IterTask = _local2.AddTask("MOJAR2", "ITEM_PROPERTY", "INFO", "Cuchar\u00F3n vac\u00EDo", "MOJAR"); IterTask.ItemName = "CUCHARON"; IterTask = _local2.AddTask("MOJO_RANA", "ACTION", "ADD", "MOJO_RANA", "MOJAR"); IterTask = _local2.AddTask("CAMBIA_RANA", "ITEM_PROPERTY", "GRAPH_FRAME", "Mojada", "MOJAR"); IterTask.ItemName = "CHOCOFROG"; IterTask = _local2.AddTask("CAMBIA_RANA", "ITEM_PROPERTY", "INFO", "Rana de Chocolate con Veritaserumm", "MOJAR"); IterTask.AddMsg("Chocofrog with Veritaserumm"); IterTask.ItemName = "CHOCOFROG"; IterTask = _local2.AddTask("COMENTA_CUALQUIERA", "PANEL", 0, "Ahora esta rana de chocolate puede hacer hablar a cualquiera", "MOJAR"); IterTask.AddMsg("Now this chocofrog can make anyone talk"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; _local3 = AddItem("mcCajon1", "CAJON1", "W", "Caj\u00F3n"); _local3.AddMsg("Drawer"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un caj\u00F3n", ""); IterTask.AddMsg("A drawer"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "Ni hablar", ""); IterTask.AddMsg("No way"); IterTask = _local2.AddTask("AGARRAR", "WALK", "TARGET", "", ""); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_ABRE_CAJON1_RANA", "CHAR_DIRECTION", "", "LEFT", "AGARRAR"); IterTask = _local2.AddTask("MANO_ABRE_CAJON1_RANA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "ORIENTA_ABRE_CAJON1_RANA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "ASYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("DECIDE_AGARRAR_CAJON1", "CONDITIONAL", "", "", "MANO_ABRE_CAJON1_RANA"); IterTask.AddCondition("HAVE@PUSO_CALAVERA;DONTHAVE@ABRIO_CAJON2;DONTHAVE@GANO_RANA;DONTHAVE@ABRIO_CAJON1", "ABRE_CAJON1_RANA"); IterTask.AddCondition("HAVE@PUSO_CALAVERA;DONTHAVE@ABRIO_CAJON2;DONTHAVE@GANO_RANA;HAVE@ABRIO_CAJON1", "CIERRA_CAJON1_RANA"); IterTask.AddCondition("HAVE@GANO_RANA;HAVE@ABRIO_CAJON1", "CIERRA_CAJON1"); IterTask.AddCondition("HAVE@GANO_RANA;DONTHAVE@ABRIO_CAJON1", "ABRE_CAJON1"); IterTask.AddCondition("HAVE@ABRIO_CAJON1", "CIERRA_CAJON1"); IterTask.AddCondition("DONTHAVE@ABRIO_CAJON1", "ABRE_CAJON1"); IterTask.AddCondition("ELSE", "XX"); IterTask = _local2.AddTask("ABRE_CAJON1_RANA", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "CAJON1"; IterTask.MovieFrame = "AbrirRana"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("ORIENTA1_ABRE_CAJON1_RANA", "CHAR_DIRECTION", "", "BACK", "ABRE_CAJON1_RANA"); IterTask = _local2.AddTask("MUESTRA_AUXILIAR1", "MOVIE_ITEM", "VISIBLE", true, "ABRE_CAJON1_RANA"); IterTask.ItemName = "AUXILIAR_CAJON1"; IterTask = _local2.AddTask("ABRIO_CAJON1", "ACTION", "ADD", "ABRIO_CAJON1", "ABRE_CAJON1_RANA"); IterTask = _local2.AddTask("CIERRA_CAJON1_RANA", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "CAJON1"; IterTask.MovieFrame = "CerrarRana"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("ORIENTA2_ABRE_CAJON1_RANA", "CHAR_DIRECTION", "", "BACK", "CIERRA_CAJON1_RANA"); IterTask = _local2.AddTask("OCULTA_AUXILIAR1", "MOVIE_ITEM", "VISIBLE", false, "CIERRA_CAJON1_RANA"); IterTask.ItemName = "AUXILIAR_CAJON1"; IterTask = _local2.AddTask("CERRO_CAJON1", "ACTION", "DROP", "ABRIO_CAJON1", "CIERRA_CAJON1_RANA"); IterTask = _local2.AddTask("ABRE_CAJON1", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "CAJON1"; IterTask.MovieFrame = "Abrir"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("ORIENTA1_ABRE_CAJON1", "CHAR_DIRECTION", "", "BACK", "ABRE_CAJON1"); IterTask = _local2.AddTask("OCULTA_AUXILIAR2", "MOVIE_ITEM", "VISIBLE", false, "ABRE_CAJON1"); IterTask.ItemName = "AUXILIAR_CAJON2"; IterTask = _local2.AddTask("ABRIO_CAJON1", "ACTION", "ADD", "ABRIO_CAJON1", "ABRE_CAJON1"); IterTask = _local2.AddTask("CIERRA_CAJON1", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "CAJON1"; IterTask.MovieFrame = "Cerrar"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("ORIENTA2_ABRE_CAJON1", "CHAR_DIRECTION", "", "BACK", "CIERRA_CAJON1"); IterTask = _local2.AddTask("DECIDE_MOSTRAR_AUXILIAR2", "CONDITIONAL", "", "", "CIERRA_CAJON1"); IterTask.AddCondition("DONTHAVE@PUSO_CALAVERA;HAVE@ABRIO_CAJON2", "MUESTRA_AUXILIAR2"); IterTask.AddCondition("ELSE", "NADA"); IterTask = _local2.AddTask("MUESTRA_AUXILIAR2", "MOVIE_ITEM", "VISIBLE", true, ""); IterTask.ItemName = "AUXILIAR_CAJON2"; IterTask = _local2.AddTask("CERRO_CAJON1", "ACTION", "DROP", "ABRIO_CAJON1", "CIERRA_CAJON1"); _local3 = AddItem("mcCajon2", "CAJON2", "W", "Caj\u00F3n"); _local3.AddMsg("Drawer"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un caj\u00F3n", ""); IterTask.AddMsg("A drawer"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No hablo con cajones", ""); IterTask.AddMsg("I don't talk to drawers"); IterTask = _local2.AddTask("AGARRAR", "WALK", "TARGET", "", ""); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_ABRE_CAJON2", "CHAR_DIRECTION", "", "LEFT", "AGARRAR"); IterTask = _local2.AddTask("MANO_ABRE_CAJON2", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "ORIENTA_ABRE_CAJON2"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "ASYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("DECIDE_AGARRAR_CAJON2", "CONDITIONAL", "", "", "MANO_ABRE_CAJON2"); IterTask.AddCondition("HAVE@PUSO_CALAVERA;DONTHAVE@ABRIO_CAJON2", "NOABRE_CAJON2"); IterTask.AddCondition("HAVE@PUSO_CALAVERA;HAVE@ABRIO_CAJON2", "CERRAR_CALAVERA"); IterTask.AddCondition("HAVE@ABRIO_CAJON2", "CERRAR_CAJON2"); IterTask.AddCondition("DONTHAVE@ABRIO_CAJON2", "ABRIR_CAJON2"); IterTask = _local2.AddTask("NOABRE_CAJON2", "DUMMY", "", "", ""); IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("COMENTA_NOABRE_CAJON2", "PANEL", 0, "Ya no se puede abrir", "NOABRE_CAJON2"); IterTask.AddMsg("It can't be open again due to the spell"); IterTask.Position = "Front"; IterTask = _local2.AddTask("CERRAR_CALAVERA", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "CAJON2"; IterTask.MovieFrame = "CerrarCalavera"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("ORIENTA1_ABRE_CAJON2", "CHAR_DIRECTION", "", "BACK", "CERRAR_CALAVERA"); IterTask = _local2.AddTask("OCULTA_AUXILIAR2", "MOVIE_ITEM", "VISIBLE", false, "CERRAR_CALAVERA"); IterTask.ItemName = "AUXILIAR_CAJON2"; IterTask = _local2.AddTask("ABRIO_CAJON2", "ACTION", "DROP", "ABRIO_CAJON2", "CERRAR_CALAVERA"); IterTask = _local2.AddTask("CERRAR_CAJON2", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "CAJON2"; IterTask.MovieFrame = "Cerrar"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("ORIENTA1_CIERRA_CAJON2", "CHAR_DIRECTION", "", "BACK", "CERRAR_CAJON2"); IterTask = _local2.AddTask("OCULTA_AUXILIAR2", "MOVIE_ITEM", "VISIBLE", false, "CERRAR_CAJON2"); IterTask.ItemName = "AUXILIAR_CAJON2"; IterTask = _local2.AddTask("ABRIO_CAJON2", "ACTION", "DROP", "ABRIO_CAJON2", "CERRAR_CAJON2"); IterTask = _local2.AddTask("ABRIR_CAJON2", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "CAJON2"; IterTask.MovieFrame = "Abrir"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("ORIENTA2_ABRE_CAJON2", "CHAR_DIRECTION", "", "BACK", "ABRIR_CAJON2"); IterTask = _local2.AddTask("MUESTRA_AUXILIAR2", "MOVIE_ITEM", "VISIBLE", true, "ABRIR_CAJON2"); IterTask.ItemName = "AUXILIAR_CAJON2"; IterTask = _local2.AddTask("ABRIO_CAJON2", "ACTION", "ADD", "ABRIO_CAJON2", "ABRIR_CAJON2"); _local3 = AddItem("mcBaul", "BAUL", "W", "Ba\u00FAl"); _local3.AddMsg("Chest"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "DECIDE_AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un ba\u00FAl", ""); IterTask.AddMsg("A chest"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No hablo con baules", ""); IterTask.AddMsg("I don't talk to chests"); IterTask = _local2.AddTask("DECIDE_AGARRAR", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@ABRIO_BAUL", "COMENTA_YA_ABRIO"); IterTask.AddCondition("HAVE@AFLOJO_BAUL", "AGARRAR"); IterTask.AddCondition("ELSE", "AGARRAR2"); IterTask = _local2.AddTask("COMENTA_YA_ABRIO", "PANEL", 0, "Ya est\u00E1 abierto", ""); IterTask.AddMsg("It's already open"); IterTask = _local2.AddTask("AGARRAR", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "AGARRAR"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("DEMORA_MUESTRA_TELA", "DUMMY", "", "", "CAMINAR"); IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("AGACHA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Agacha"; IterTask.WaitFramesAtEnd = 20; IterTask = _local2.AddTask("ABRE_BAUL", "MOVIE_ITEM", "GOTOANDPLAY", "", "DEMORA_MUESTRA_TELA"); IterTask.ItemName = "BAUL"; IterTask.MovieFrame = "Abre"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("MUESTRA_TELA", "MOVIE_ITEM", "VISIBLE", true, "DEMORA_MUESTRA_TELA"); IterTask.ItemName = "CAPA"; IterTask = _local2.AddTask("PARA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "ABRE_BAUL"); IterTask.AddParentName("MUESTRA_TELA"); IterTask = _local2.AddTask("ABRIO_BAUL", "ACTION", "ADD", "ABRIO_BAUL", "PARA_OBAMA"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "PARA_OBAMA"); IterTask = _local2.AddTask("AGARRAR2", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINAR2", "WALK", "TARGET", "", "AGARRAR2"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("AGACHA2", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINAR2"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Agacha"; IterTask.WaitFramesAtEnd = 20; IterTask = _local2.AddTask("PARA_OBAMA2", "CHAR_DIRECTION", "", "RIGHT", "AGACHA2"); IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "PARA_OBAMA2"); IterTask = _local2.AddTask("COMENTA_ATORO", "PANEL", 0, "No puedo abrirla est\u00E1 atorada", "FREEMOUSE2"); IterTask.AddMsg("I can't open it ... It's jammed"); IterTask.Expresion = "Triste"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("DECIDE_HECHIZO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@AFLOJO_BAUL", "COMENTA_YAAFLOJO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_YAAFLOJO", "PANEL", 0, "Ya no es necesario hacer magia con el ba\u00FAl", ""); IterTask.AddMsg("It's not necessary do use magic on the chest anymore"); IterTask.Position = "Front"; IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_RELASHIO", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("COMENTA_NO_AYUDA", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", ""); IterTask.AddMsg("This spell won't help me"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOVIE", "", ""); IterTask.Position = "RIGHT"; IterTask.MovieName = "mcGuiaBaul"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaAbajo"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GRITA_RELASHIO", "PANEL", 0, "\u00A1Relashio!", "CAMINAR"); IterTask.AddMsg("Relashio!"); IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "GRITA_RELASHIO"); IterTask.AddParentName("ESTIRA_VARITA"); IterTask = _local2.AddTask("AFLOJO_BAUL", "ACTION", "ADD", "AFLOJO_BAUL", "ORIENTA_OBAMA"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA"); _local3 = AddItem(mcCuartoHarry.mcHammer, "MARTILLO", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("AGARRAR", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("AGACHA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "AGARRAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Agacha"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("COGE_MARTILLO", "INV", "TARGET", "ADD", "AGACHA"); IterTask = _local2.AddTask("CAMBIA_INFO", "ITEM_PROPERTY", "INFO", "Martillo", "AGACHA"); IterTask.AddMsg("A Hammer"); IterTask.ItemName = "MARTILLO"; IterTask = _local2.AddTask("COMENTA_MARTILLO", "PANEL", 0, "Me pregunto por qu\u00E9 habr\u00EDa un martillo debajo de la cama", "AGACHA"); IterTask.AddMsg("I wonder what's doing here"); IterTask.Expresion = "Asombrado"; IterTask.Position = "Front"; _local3 = AddItem("mcCama", "CAMA", "W", ""); _local3.DestroyMouseEvents(); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Mirar", ""); IterTask.AddMsg("Look"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "Hablar", ""); IterTask.AddMsg("Talk"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Agarrar", ""); IterTask.AddMsg("Grab"); _local3 = AddItem("mcVarita", "VARITA", "W", "Varita m\u00E1gica"); _local3.AddMsg("Magic Wand"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "BLOCKMOUSE"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una varita", ""); IterTask.AddMsg("A magic wand"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No estoy loco", ""); IterTask.AddMsg("I'm not crazy"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("AGARRA_VARITA", "INV", "ITEM", "ADD", "CAMINAR"); IterTask.ItemName = "VARITA"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "AGARRA_VARITA"); _local3 = AddItem("mcAlmohada", "ALMOHADA", "W", "Almohada"); _local3.AddMsg("Pillow"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "DECIDE_MUEVE"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una almohada", ""); IterTask.AddMsg("A pillow"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No me gusta morder almohadas", ""); IterTask.AddMsg("I don't like to chew pillows"); IterTask = _local2.AddTask("DECIDE_MUEVE", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@MOVIO_ALMOHADA", "COMENTA_MOVIO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_MOVIO", "PANEL", 0, "Ya no es necesario moverla", ""); IterTask.AddMsg("It's not necessary"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("MOVER", "MOVE", "ITEM", "", "CAMINAR"); IterTask.ItemName = "ALMOHADA"; IterTask.DistanceX = -22; IterTask.DistanceY = 23; IterTask.MoveMode = "DIRECT"; IterTask = _local2.AddTask("MOVIO_ALMOHADA", "ACTION", "ADD", "MOVIO_ALMOHADA", "MOVER"); IterTask = _local2.AddTask("LIBERA_MOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "MOVER"); _local3 = AddItem("mcEscoba", "ESCOBA", "W", "Nimbus 2009"); _local3.AddMsg("Nimbus 2009"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Est\u00E1 muy alto", ""); IterTask.AddMsg("It's too high"); IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Es modelo Nimbus", ""); IterTask.AddMsg("It's a Nimbus model"); IterTask = _local2.AddTask("HABLAR", "WALK", "TARGET", "", ""); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("HABLAR2", "PANEL", 0, "\u00A1Escoba baja!", "HABLAR"); IterTask.AddMsg("Get down broom!"); IterTask = _local2.AddTask("HABLAR3", "PANEL", 0, "No me hizo caso", "HABLAR2"); IterTask.AddMsg("It ignored me"); IterTask.Expresion = "Triste"; IterTask.Position = "FRONT"; _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_ACCIO", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_ESCOBA"); IterTask = _local2.AddTask("COMENTA_ESCOBA", "PANEL", 0, "Ese hechizo no me traer\u00E1 la escoba", ""); IterTask.AddMsg("That spell won't help me"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_ESCOBA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", ""); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("LLAMA_ESCOBA", "PANEL", 0, "\u00A1Accio Escoba!", "CAMINAR"); IterTask.AddMsg("Accio Broom!"); IterTask = _local2.AddTask("BAJA_ESCOBA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "ESTIRA_VARITA"); IterTask.ItemName = "ESCOBA"; IterTask.MovieFrame = "Baja"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GANA_ESCOBA", "INV", "ITEM", "ADD", "BAJA_ESCOBA"); IterTask.ItemName = "ESCOBA"; IterTask = _local2.AddTask("COMENTA_NIMBUS", "PANEL", 0, "Ahora ya tengo mi Nimbus 2009", "GANA_ESCOBA"); IterTask.AddMsg("Now I have the Nimbus 2009"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NIMBUS"); _local3 = AddItem("mcFlechaAbajo", "CUARTOHARRY_FLECHA", "W", "Salir"); _local2 = _local3.AddFriend("MOUSE"); _local2.AddMsg("Leave"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "FRONT"; IterTask = _local2.AddTask("SALIR_CASA", "SCENE", "", "FAT_ROOM", "CAMINAR"); IterTask.MovieName = "mcFatRoom.mcHuecoCuadro.mcTarget"; IterTask.Transition = false; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "FRONT"; IterTask = _local2.AddTask("SALE_CUADRO", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "SaleCuadro"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "FRONT", "SALE_CUADRO"); mcCuartoHarry.mcCapa._visible = false; mcCuartoHarry.mcAuxiliarCajon1._visible = false; mcCuartoHarry.mcAuxiliarCajon2._visible = false; mcCuartoHarry.mcGuiaBaul._visible = false; var _local4; _local4 = GetSceneByName("CUARTO_HARRY").AddSortRule("COMODA"); _local4.AddItem("ESCOBA"); _local4.AddItem("TINTA"); _local4.AddItem("CHOCOFROG"); _local4.AddItem("PERGAMINO"); _local4.AddItem("AUXILIAR_CAJON1"); _local4.AddItem("AUXILIAR_CAJON2"); _local4.AddItem("CAJON1"); _local4.AddItem("CAJON2"); _local4.AddItem("COMODA"); _local4 = GetSceneByName("CUARTO_HARRY").AddSortRule("CAMA"); _local4.AddItem("ALMOHADA"); _local4.AddItem("VARITA"); _local4.AddItem("CAMA"); _local4 = GetSceneByName("CUARTO_HARRY").AddSortRule("BAUL"); _local4.AddItem("CAPA"); _local4.AddItem("BAUL"); } function SF_FilchTasks() { var _local2; var _local1; var _local5; var _local4; curScene = GetSceneByName("FILCH"); _local2 = AddItem(undefined, "STARTGAME", "S"); _local1 = _local2.AddFriend("STARTGAME", "", ""); IterTask = _local1.AddTask("GANA_CAPA", "INV", "ITEM", "ADD", "START"); IterTask.ItemName = "CAPA"; IterTask = _local1.AddTask("ABRE_PUERTA_FISH", "MOVIE_ITEM", "GOTOANDSTOP", "", "GANA_CAPA"); IterTask.ItemName = "PUERTA_FILCH"; IterTask.MovieFrame = "Abierta"; IterTask.AnimationMode = "ASYNC"; _local2 = AddItem(undefined, "DELAY_FILCH", "D"); _local1 = _local2.AddFriend("DELAY_AMPAY", "", ""); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("VOLTEA_FILCH", "MOVIE", "ORIENTATION", "", "BLOCKMOUSE"); IterTask.Orientation = "NEGATIVE"; IterTask.MovieName = "mcFilch.mcFilch"; IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "LEFT", "BLOCKMOUSE"); IterTask = _local1.AddTask("GRITA_FILCH", "TALK", "DIALOG", "CAPTURA_1", "VOLTEA_FILCH"); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local1.AddTask("MUESTRA_OBAMAFILCH", "SCREEN", "", "", "GRITA_FILCH"); IterTask.MovieName = "mcObamaFilch"; IterTask = _local1.AddTask("MUEVE_OBAMA", "MOVE", "ITEM", "", "GRITA_FILCH"); IterTask.ItemName = "OBAMA_FILCH"; IterTask.TargetMovieName = "mcFilch.mcGuiaDanger"; IterTask.MoveMode = "DIRECT"; IterTask = _local1.AddTask("VOLTEA_FILCH", "MOVIE", "ORIENTATION", "", "GRITA_FILCH"); IterTask.Orientation = "POSITIVE"; IterTask.MovieName = "mcFilch.mcFilch"; IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "FRONT", "GRITA_FILCH"); IterTask = _local1.AddTask("HABILITA_CHECKEVENT", "CHECKTASK_ENABLE", "", "TIMER", "GRITA_FILCH"); IterTask.ItemName = "DELAY_FILCH"; IterTask.FriendToLunch = "DELAY_SEDEJAVER"; IterTask = _local1.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "MUEVE_OBAMA"); _local1 = _local2.AddFriend("DELAY_SEDEJAVER", "", ""); IterTask = _local1.AddTask("TIMER", "CHECK_EVENT", "HIT_NOACTION", "", ""); IterTask.CheckMovieHit1 = "mcFilch.mcObama.mcBase"; IterTask.CheckMovieHit2 = "mcFilch.mcDangerZone"; IterTask.CheckAction = "PUSO_CAPA"; IterTask.ItemName = "DELAY_FILCH"; IterTask.FriendToLunch = "DELAY_AMPAY"; IterTask.DisableAction = "DURMIO_KEKE"; IterTask.EnableAction = "ACTIVA_FILCH"; _local2 = AddItem(undefined, "InventoryFILCH", "I"); _local2 = AddItem(undefined, "MouseFILCH", "M"); _local2 = AddItem(mcFilch.mcWalkRange, "TerrenoFILCH", "T"); _local1 = _local2.AddFriend("MouseFILCH", "", ""); IterTask = _local1.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local2 = AddItem(mcFilch.mcObama, "OBAMA_FILCH", "W"); _local1 = _local2.AddFriend("MouseFILCH", "Agente Stone", ""); curScene.SetCharacter("OBAMA_FILCH", "Normal", "Front"); _local2 = AddItem(mcFilch.mcFilch, "FILCH", "W", "Filch"); _local2.AddMsg("Filch"); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local1.AddTask("MIRAR", "PANEL", 0, "Debe tener un genio de los mil diablos", ""); IterTask.AddMsg("He looks bad-tempered"); IterTask = _local1.AddTask("AGARRAR", "PANEL", 0, "Mejor no me meto en problemas", ""); IterTask.AddMsg("I'd better stay away from trouble"); IterTask = _local1.AddTask("HABLAR", "PANEL", 0, "Si le hablo me podria atrapar", ""); IterTask.AddMsg("If i speak to him, he might catch me"); _local2 = AddItem(mcFilch.mcNorris, "NORRIS", "W", "Norris"); _local2.AddMsg("Norris"); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local1.AddTask("MIRAR", "PANEL", 0, "Debe tener un genio de los mil diablos", ""); IterTask.AddMsg("He looks bad-tempered"); IterTask = _local1.AddTask("AGARRAR", "PANEL", 0, "Mejor no me meto en problemas", ""); IterTask.AddMsg("I'd better stay away from trouble"); IterTask = _local1.AddTask("HABLAR", "PANEL", 0, "Si le hablo me podria delatar", ""); IterTask.AddMsg("if i speak to him, he might accuse me"); _local2 = AddItem("mcPuerta", "PUERTA_FILCH", "W", "Una puerta"); _local2.AddMsg("A door"); _local1 = _local2.AddFriend("MOUSE"); _local2 = AddItem("mcFlechaIzquierda", "FLECHA_IZQUIERDA", "W", "Regresar"); _local2.AddMsg("Go Back"); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local1.AddTask("APANDA", "SCENE", "", "FAT_ROOM", "CAMINAR"); IterTask.Transition = true; IterTask.Position = "LEFT"; IterTask.MovieName = "mcFatRoom.mcFlechaDerecha.mcTarget"; _local2 = AddItem("mcFlechaDerecha", "FLECHA_DERECHA", "W", "Avanzar"); _local2.AddMsg("Go forward"); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "RIGHT"; IterTask = _local1.AddTask("AOVAL2", "SCENE", "", "PETER_DOOR", "CAMINAR"); IterTask.MovieName = "mcPeterDoor.mcFlechaIzquierda.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "RIGHT"; IterTask = _local1.AddTask("FREE_WALK", "MOUSE_STATE", "WALK", "ENABLED", "AOVAL2"); _local2 = AddItem("mcFlechaArriba", "FLECHA_ARRIBA_FILCH", "W", "Entrar"); _local2.AddMsg("Enter"); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "BACK"; IterTask = _local1.AddTask("ENTRAR_CASA", "SCENE", "", "CUARTO_POCIONES", "CAMINAR"); IterTask.MovieName = "mcCuartoPociones.mcFlechaAbajo.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "BACK"; mcFilch.mcDangerZone._visible = false; mcFilch.mcGuiaDanger._visible = false; var _local3; _local3 = GetSceneByName("FILCH").AddSortRule("PUERTA"); _local3.AddItem("FLECHA_ARRIBA_FILCH"); _local3.AddItem("PUERTA_FILCH"); InitDialogoFilch(); } function InitDialogoFilch() { var _local1; Block = new objBlock("CAPTURA_1", "FILCH", "CAPTURA_2", "B", "Asustado", "Asustado"); Block.Message = "\u00A1AJA! \u00A1Un alumno merodeando por los pasillos de Hogwards!"; Block.AddMsg("AHA! A student wandering around the hallways of Hogwards"); BlockAdmin.AddBlock(Block); Block = new objBlock("CAPTURA_2", "MAIN", "CAPTURA_3", "B", "Emocionado", "Emocionado"); Block.Message = "Esteee ... me parece que hay un error no soy un alumno"; Block.AddMsg("Err... i think you are mistaken, i'm not a student"); BlockAdmin.AddBlock(Block); Block = new objBlock("CAPTURA_3", "FILCH", "CAPTURA_4", "B", "Asustado", "Asustado"); Block.Message = "\u00A1Patra\u00F1as! .. eso dicen todos para que no los detenga ... \u00A1A la sala de detenci\u00F3n!"; Block.AddMsg("Non sense! That's what they all say... To detention!"); BlockAdmin.AddBlock(Block); Block = new objBlock("CAPTURA_4", "MAIN", "", "B", "Asustado", "Asustado"); Block.Message = "Ahora s\u00ED me toc\u00F3 el ocho"; Block.AddMsg("Aww, cmon..."); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); } function SF_Cuarto_pocionesTasks() { var _local3; var _local2; var _local5; curScene = GetSceneByName("CUARTO_POCIONES"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "START"); IterTask.ItemName = "VARITA"; IterTask = _local2.AddTask("GANA_LIBRO", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "LIBRO_AZUL"; IterTask = _local2.AddTask("GANA_MARTILLO", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "MARTILLO"; IterTask = _local2.AddTask("GANA_RANA", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "CHOCOFROG"; IterTask = _local2.AddTask("GANA_PELO", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "PELO_UNICORNIO"; IterTask = _local2.AddTask("GANA_CORCHO", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "CORCHO"; IterTask = _local2.AddTask("GANA_CAPA", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "CAPA"; IterTask = _local2.AddTask("GANA_ACCIO", "ACTION", "ADD", "TIENE_ACCIO", "GANA_VARITA"); IterTask = _local2.AddTask("GANA_DISCENDIO", "ACTION", "ADD", "TIENE_DISCENDIO", "GANA_VARITA"); IterTask = _local2.AddTask("GANA_LACARNUM", "ACTION", "ADD", "TIENE_LACARNUM", "GANA_VARITA"); IterTask = _local2.AddTask("ESCRIBIO_OBAMA", "ACTION", "ADD", "ESCRIBIO_OBAMA", "GANA_VARITA"); _local3 = AddItem(undefined, "DELAY_CUARTO_POCIONES", "D"); _local2 = _local3.AddFriend("DELAY_CUARTO_POCIONES_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendCuarto_pociones = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryCuarto_pociones", "I"); _local3 = AddItem(undefined, "MouseCuarto_pociones", "M"); _local3 = AddItem("mcWalkRange", "TerrenoCuarto_pociones", "T"); _local2 = _local3.AddFriend("MouseCuarto_pociones", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_CUARTO_POCIONES", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_CUARTO_POCIONES", "Normal", "Front"); _local3 = AddItem("mcMuebleCalavera", "MUEBLE_CALAVERA", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local3 = AddItem("mcSoporteCaldero", "SOPORTE_CALDERO", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local3 = AddItem("mcHumoFeliz", "HUMO_FELIZ", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local3 = AddItem("mcCorcho", "CORCHO", "W", "Un corcho"); _local3.AddMsg("A cork"); _local2 = _local3.AddFriend("MOUSE"); _local3 = AddItem("mcLenaCaldero", "LENA_CALDERO", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("DECIDE_SPELL", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@PUSO_AGUA", "INCORRECTO"); IterTask.AddCondition("HAVE@ENCENDIO_LENA", "COMENTA_ENCENDIO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("INCORRECTO", "PANEL", 0, "Al parecer no has le\u00EDdo la f\u00F3rmula de la poci\u00F3n", ""); IterTask.AddMsg("Looks like you didn't read the formula from the book"); IterTask.Position = "FRONT"; IterTask.Expresion = "AMARGO"; IterTask = _local2.AddTask("COMENTA_ENCENDIO", "PANEL", 0, "Ya est\u00E1 encendida", ""); IterTask.AddMsg("It's already lit up"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_LACARNUM", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_OTROSPELL"); IterTask = _local2.AddTask("COMENTA_OTROSPELL", "PANEL", 0, "Ese hechizo no me sirve", ""); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_OTROSPELL"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", ""); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaAbajo"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("LLAMA", "PANEL", 0, "\u00A1Lacarnum Inflammare!", "CAMINAR"); IterTask.AddMsg("Lacarnum Inflammare!"); IterTask = _local2.AddTask("DEMORA", "DUMMY", "", "", "CAMINAR"); IterTask.WaitFramesAtEnd = 30; IterTask = _local2.AddTask("SONIDO_LENA", "SOUND", "ASINCRONO", "", "DEMORA"); IterTask.SoundName = "enciende_lena"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local2.AddTask("MUESTRA_LLAMAS", "MOVIE_ITEM", "VISIBLE", true, "DEMORA"); IterTask.ItemName = "LLAMA_CALDERO"; IterTask = _local2.AddTask("ENCENDIO_LENA", "ACTION", "ADD", "ENCENDIO_LENA", "LLAMA"); IterTask = _local2.AddTask("COMENTA_GANA", "PANEL", 0, "Vaya que son efectivos estos hechizos .. je je", "LLAMA"); IterTask.AddParentName("ESTIRA_VARITA"); IterTask.AddMsg("Hmmm... these spells are quite effective"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE3", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_GANA"); _local3 = AddItem("mcLlamaCaldero", "LLAMA_CALDERO", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local3 = AddItem("mcCaldero", "CALDERO", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("AGUA_NILO"); IterTask = _local2.AddTask("DECIDE_ECHA_AGUA", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@PUSO_AGUA", "BLOCKMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_VACIA"); IterTask = _local2.AddTask("COMENTA_VACIA", "PANEL", 0, "El balde est\u00E1 vac\u00EDo", ""); IterTask.AddMsg("The bucket is empty"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_CALDERO", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_OBAMA1", "CHAR_DIRECTION", "", "RIGHT", "CAMINA_CALDERO"); IterTask = _local2.AddTask("ESTIRA_MANO", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA_CALDERO"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("CAMBIA_BOTELLA", "ITEM_PROPERTY", "GRAPH_FRAME", "Vacio", "ESTIRA_MANO"); IterTask.ItemName = "AGUA_NILO"; IterTask = _local2.AddTask("CAMBIA_INFO_BOTELLA", "ITEM_PROPERTY", "INFO", "Un balde vac\u00EDo", "ESTIRA_MANO"); IterTask.AddMsg("An empty bucket"); IterTask.ItemName = "AGUA_NILO"; IterTask = _local2.AddTask("PUSO_AGUA", "ACTION", "ADD", "PUSO_AGUA", "ESTIRA_MANO"); IterTask = _local2.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "BACK", "ESTIRA_MANO"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ESTIRA_MANO"); IterTask = _local2.AddTask("COMENTA_PRIMER", "PANEL", 0, "\u00A1Pusimos el primer ingrediente!", "FREEMOUSE"); IterTask.AddMsg("We put the first ingredient!"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("PLUMA_FENIX"); IterTask = _local2.AddTask("DECIDE_ECHA_PLUMA", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@ESCRIBIO_OBAMA", "ANTES_USAR"); IterTask.AddCondition("DONTHAVE@ENCENDIO_LENA", "INCORRECTO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("ANTES_USAR", "PANEL", 0, "Mi sexto sentido me dice que la pluma del f\u00E9nix me servir\u00E1 antes para otra cosa", ""); IterTask.AddMsg("My sixth sense tells me i could use the feather for something else before putting it into the cauldron"); IterTask = _local2.AddTask("INCORRECTO", "PANEL", 0, "Al parecer no has le\u00EDdo la f\u00F3rmula de la poci\u00F3n", ""); IterTask.AddMsg("Looks like you didn't read the formula from the book"); IterTask.Position = "FRONT"; IterTask.Expresion = "AMARGO"; IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_CALDERO", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_OBAMA1", "CHAR_DIRECTION", "", "RIGHT", "CAMINA_CALDERO"); IterTask = _local2.AddTask("ESTIRA_MANO", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA_CALDERO"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("PIERDE_PLUMA", "INV", "ITEM", "DROP", "ESTIRA_MANO"); IterTask.ItemName = "PLUMA_FENIX"; IterTask = _local2.AddTask("PUSO_PLUMA", "ACTION", "ADD", "PUSO_PLUMA", "ESTIRA_MANO"); IterTask = _local2.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "BACK", "ESTIRA_MANO"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA2"); IterTask = _local2.AddTask("COMENTA_SEGUNDO", "PANEL", 0, "Segundo ingrediente .... !Listo\u00A1", "FREEMOUSE"); IterTask.AddMsg("Second ingredient... ready!"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("DEDO"); IterTask = _local2.AddTask("DECIDE_ECHA_DEDO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@PUSO_PLUMA", "INCORRECTO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("INCORRECTO", "PANEL", 0, "Al parecer no has le\u00EDdo la f\u00F3rmula de la poci\u00F3n", ""); IterTask.AddMsg("Looks like you didn't read the formula from the book"); IterTask.Position = "FRONT"; IterTask.Expresion = "AMARGO"; IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_CALDERO", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_OBAMA1", "CHAR_DIRECTION", "", "RIGHT", "CAMINA_CALDERO"); IterTask = _local2.AddTask("ESTIRA_MANO", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA_CALDERO"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("PIERDE_DEDO", "INV", "ITEM", "DROP", "ESTIRA_MANO"); IterTask.ItemName = "DEDO"; IterTask = _local2.AddTask("PUSO_DEDO", "ACTION", "ADD", "PUSO_DEDO", "ESTIRA_MANO"); IterTask = _local2.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "BACK", "ESTIRA_MANO"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA2"); IterTask = _local2.AddTask("XX_TASK_NAME", "PANEL", 0, "Dedo de Gryndilow en el caldero ... je je", "FREEMOUSE"); IterTask.AddMsg("Gryndilow's finger in the cauldron... he he"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("CALAVERA_AMARILLA"); IterTask = _local2.AddTask("INCORRECTO", "PANEL", 0, "Al parecer no has le\u00EDdo la f\u00F3rmula de la poci\u00F3n", "START"); IterTask.AddMsg("Looks like you didn't read the formula from the book"); IterTask.Position = "FRONT"; IterTask.Expresion = "AMARGO"; _local2 = _local3.AddFriend("DEDO_VASIJA"); IterTask = _local2.AddTask("INCORRECTO", "PANEL", 0, "\u00A1La poci\u00F3n no lleva vidrio en los ingredientes! Se v\u00E9 que no has le\u00EDdo el libro", "START"); IterTask.AddMsg("Glass isn't one of the ingredientes, it looks like you haven't read the book"); IterTask.CanSpeed = false; IterTask.Position = "FRONT"; IterTask.Expresion = "AMARGO"; _local2 = _local3.AddFriend("FELICIS"); IterTask = _local2.AddTask("INCORRECTO", "PANEL", 0, "Al parecer no has le\u00EDdo la f\u00F3rmula de la poci\u00F3n", "START"); IterTask.AddMsg("Looks like you didn't read the formula from the book"); IterTask.Position = "FRONT"; IterTask.Expresion = "AMARGO"; _local2 = _local3.AddFriend("GELATINA"); IterTask = _local2.AddTask("INCORRECTO", "PANEL", 0, "Al parecer no has le\u00EDdo la f\u00F3rmula de la poci\u00F3n", "START"); IterTask.AddMsg("Looks like you didn't read the formula from the book"); IterTask.Position = "FRONT"; IterTask.Expresion = "AMARGO"; _local2 = _local3.AddFriend("PELO_UNICORNIO"); IterTask = _local2.AddTask("DECIDE_ECHA_PELO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@PUSO_DEDO", "INCORRECTO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("INCORRECTO", "PANEL", 0, "Al parecer no has le\u00EDdo la f\u00F3rmula de la poci\u00F3n", ""); IterTask.AddMsg("Looks like you didn't read the formula from the book"); IterTask.Position = "FRONT"; IterTask.Expresion = "AMARGO"; IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_CALDERO", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_OBAMA1", "CHAR_DIRECTION", "", "RIGHT", "CAMINA_CALDERO"); IterTask = _local2.AddTask("ESTIRA_MANO", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA_CALDERO"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("PIERDE_PELO", "INV", "ITEM", "DROP", "ESTIRA_MANO"); IterTask.ItemName = "PELO_UNICORNIO"; IterTask = _local2.AddTask("PUSO_PELO", "ACTION", "ADD", "PUSO_PELO", "ESTIRA_MANO"); IterTask = _local2.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "BACK", "ESTIRA_MANO"); IterTask = _local2.AddTask("MUESTRA_HUMO", "MOVIE_ITEM", "VISIBLE", true, "ORIENTA_OBAMA2"); IterTask.ItemName = "HUMO_FELIZ"; IterTask = _local2.AddTask("ANIMA_HUMO", "MOVIE_ITEM", "GOTOANDPLAY", "", "ORIENTA_OBAMA2"); IterTask.ItemName = "HUMO_FELIZ"; IterTask.MovieFrame = "Anima"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("OCULTA_HUMO", "MOVIE_ITEM", "VISIBLE", false, "ANIMA_HUMO"); IterTask.ItemName = "HUMO_FELIZ"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ANIMA_HUMO"); IterTask = _local2.AddTask("COMENTA_CHEF", "PANEL", 0, "Soy el mejor Chef de Hogwards je je je", "FREEMOUSE"); IterTask.AddMsg("I could teach in Hogwards he he he"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("CUCHARON"); IterTask = _local2.AddTask("DECIDE_CUCHARON", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@PUSO_PELO", "COMENTA_LISTA"); IterTask.AddCondition("HAVE@LLENO_CUCHARON", "YA_SAQUE"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_LISTA", "PANEL", 0, "La poci\u00F3n a\u00FAn no est\u00E1 lista", ""); IterTask.AddMsg("Potion is not ready yet"); IterTask = _local2.AddTask("YA_SAQUE", "PANEL", 0, "Ya saqu\u00E9 la cantidad requerida", ""); IterTask.AddMsg("I don't need more"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_CALDERO", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_OBAMA1", "CHAR_DIRECTION", "", "RIGHT", "CAMINA_CALDERO"); IterTask = _local2.AddTask("ESTIRA_MANO", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA_CALDERO"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("SONIDO_CUCHARON", "SOUND", "ASINCRONO", "", "CAMINA_CALDERO"); IterTask.SoundName = "cucharon"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 5; IterTask = _local2.AddTask("CAMBIA_IMAGEN", "ITEM_PROPERTY", "GRAPH_FRAME", "Lleno", "ESTIRA_MANO"); IterTask.ItemName = "CUCHARON"; IterTask = _local2.AddTask("CAMBIA_IMAGEN", "ITEM_PROPERTY", "INFO", "Cuchar\u00F3n con Veritaserumm", "ESTIRA_MANO"); IterTask.ItemName = "CUCHARON"; IterTask.AddMsg("A Ladle with Veritaserumm"); IterTask = _local2.AddTask("LLENO_CUCHARON", "ACTION", "ADD", "LLENO_CUCHARON", "ESTIRA_MANO"); IterTask = _local2.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "BACK", "ESTIRA_MANO"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA2"); IterTask = _local2.AddTask("COMENTA_CHEF", "PANEL", 0, "\u00BFAlguien se anima a probar mi rica sopa?", "FREEMOUSE"); IterTask.AddMsg("Is anyone in the mood for a tasty beverage?"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; _local3 = AddItem("mcDedo", "DEDO", "W", "Un dedo de Gryndilow"); _local3.AddMsg("A finger of a Gryndilow"); _local2 = _local3.AddFriend("MOUSE"); _local3 = AddItem("mcPinzas", "PINZAS", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINA_PINZA", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("AGACHA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA_PINZA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Agacha"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local2.AddTask("AGARRA_PINZA", "INV", "ITEM", "ADD", "AGACHA"); IterTask.ItemName = "PINZAS"; IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "LEFT", "AGACHA"); IterTask = _local2.AddTask("CAMBIA_INFO", "ITEM_PROPERTY", "INFO", "Pinzas", "AGACHA"); IterTask.AddMsg("Tweezers"); IterTask.ItemName = "PINZAS"; _local3 = AddItem("mcDedoVasija", "DEDO_VASIJA", "W", "Vasija"); _local3.AddMsg("Vessel"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINA_DEDOVASIJA", "WALK", "TARGET", "", "START"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("AGARRA_DEDO_VASIJA", "INV", "TARGET", "ADD", "CAMINA_DEDOVASIJA"); IterTask = _local2.AddTask("COMENTA_DEDO", "PANEL", 0, "Hay algo dentro de la vasija ... parece un dedo", "AGARRA_DEDO_VASIJA"); IterTask.AddMsg("There's something inside the vessel ... it seems to be a finger"); IterTask.CanSpeed = false; IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("MARTILLO"); IterTask = _local2.AddTask("DECIDE_MARTILLO", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("HAVE@ROMPIO_VASIJA", "YA_ROMPI"); IterTask.AddCondition("ELSE", "INICIO"); IterTask = _local2.AddTask("YA_ROMPI", "PANEL", 0, "Ya la romp\u00ED", ""); IterTask.AddMsg("I've already broken it"); IterTask = _local2.AddTask("INICIO", "DUMMY", "", "", ""); IterTask = _local2.AddTask("SONIDO_VIDRIO", "SOUND", "ASINCRONO", "", "INICIO"); IterTask.SoundName = "rompe_vasija"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local2.AddTask("CAMBIA_VASIJA", "ITEM_PROPERTY", "GRAPH_FRAME", "Rota", "INICIO"); IterTask.ItemName = "DEDO_VASIJA"; IterTask = _local2.AddTask("CAMBIA_INFO_VASIJA", "ITEM_PROPERTY", "INFO", "Una vasija rota", "INICIO"); IterTask.AddMsg("A broken vessel"); IterTask.ItemName = "DEDO_VASIJA"; IterTask = _local2.AddTask("ROMPIO_VASIJA", "ACTION", "ADD", "ROMPIO_VASIJA", "INICIO"); IterTask = _local2.AddTask("GANA_DEDO", "INV", "ITEM", "ADD", "INICIO"); IterTask.ItemName = "DEDO"; _local3 = AddItem("mcCucharon", "CUCHARON", "W", "Un cuchar\u00F3n"); _local3.AddMsg("A Ladle"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINA_DEDOVASIJA", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("AGARRA_DEDO_VASIJA", "INV", "TARGET", "ADD", "CAMINA_DEDOVASIJA"); _local3 = AddItem("mcFelicis", "FELICIS", "W", "Una botellita"); _local3.AddMsg("A little bottle"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("CAMINA_DEDOVASIJA", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("COMENTA_FELICIS", "PANEL", 0, "La etiqueta dice: 'Felix Felicis'", "CAMINA_DEDOVASIJA"); IterTask.AddMsg("The label says: 'Felix Felicis'"); IterTask = _local2.AddTask("AGARRA_DEDO_VASIJA", "INV", "TARGET", "ADD", "COMENTA_FELICIS"); IterTask = _local2.AddTask("CAMBIA_INFO", "ITEM_PROPERTY", "INFO", "Felix Felicis", "COMENTA_FELICIS"); IterTask.AddMsg("Felix Felicis"); IterTask.ItemName = "FELICIS"; IterTask = _local2.AddTask("TIENE_FELICIS", "ACTION", "ADD", "TIENE_FELICIS", "COMENTA_FELICIS"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "AGARRA_DEDO_VASIJA"); _local2 = _local3.AddFriend("INVENTORY", "", ""); IterTask = _local2.AddTask("DECIDE_MENU", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("DONTHAVE@DERROTO_DEMENTOR", "DELIVER"); IterTask.AddCondition("HAVE@TOMO_FELICIS", "DELIVER"); IterTask.AddCondition("ELSE", "MENU1"); IterTask = _local2.AddTask("MENU1", "MENUINV", "", "", ""); IterMenu = IterTask.AddMenuItem("Tomar", "DRINK"); IterMenu.AddMsg("Drink"); IterMenu = IterTask.AddMenuItem("Entregar", "DRAG_ACTION"); IterMenu.AddMsg("Deliver"); IterTask = _local2.AddTask("DRINK", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SACO_CORCHO", "TOMAR"); IterTask.AddCondition("ELSE", "NO_PUEDO"); IterTask = _local2.AddTask("NO_PUEDO", "PANEL", 0, "No puedo sacar el corcho", ""); IterTask.AddMsg("I can't remove the fork"); IterTask.Expresion = "Triste"; IterTask.Position = "Front"; IterTask = _local2.AddTask("TOMAR", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("SONIDO_TOMA", "SOUND", "ASINCRONO", "", "TOMAR"); IterTask.SoundName = "bebe"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 1; IterTask = _local2.AddTask("TOMAR2", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "TOMAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "TomaFelicis"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 20; IterTask = _local2.AddTask("TOMO_FELICIS", "ACTION", "ADD", "TOMO_FELICIS", "TOMAR2"); IterTask = _local2.AddTask("CAMBIA_FRAME", "ITEM_PROPERTY", "GRAPH_FRAME", "Vacia", "TOMAR2"); IterTask.ItemName = "FELICIS"; IterTask = _local2.AddTask("CAMBIA_INFO", "ITEM_PROPERTY", "INFO", "Una botellita vac\u00EDa", "TOMAR2"); IterTask.AddMsg("An empty little bottle"); IterTask.ItemName = "FELICIS"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "TOMAR2"); IterTask = _local2.AddTask("COMENTA_BUENA", "PANEL", 0, "\u00A1Me siento super cool!", "TOMAR2"); IterTask.AddMsg("I feel super cool!"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local2.AddTask("DELIVER", "INV_DRAG", "", "", ""); _local2 = _local3.AddFriend("SACACORCHOS"); IterTask = _local2.AddTask("DECIDE_SACARCORCHO", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("HAVE@SACO_CORCHO", "YA_SAQUE"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("YA_SAQUE", "PANEL", 0, "Ya no tiene corcho", ""); IterTask.AddMsg("I've already removed the fork"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("SONIDO_POP", "SOUND", "ASINCRONO", "", "BLOCKMOUSE"); IterTask.SoundName = "pop"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local2.AddTask("CAMBIA_FRAME", "ITEM_PROPERTY", "GRAPH_FRAME", "SinCorcho", "BLOCKMOUSE"); IterTask.ItemName = "FELICIS"; IterTask = _local2.AddTask("SACO_CORCHO", "ACTION", "ADD", "SACO_CORCHO", "BLOCKMOUSE"); IterTask = _local2.AddTask("GANA_CORCHO", "INV", "ITEM", "ADD", "BLOCKMOUSE"); IterTask.ItemName = "CORCHO"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "BLOCKMOUSE"); _local3 = AddItem("mcGelatina", "GELATINA", "W", "Una sustancia rara"); _local3.AddMsg("A strange substance"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINA_DEDOVASIJA", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("AGARRA_DEDO_VASIJA", "INV", "TARGET", "ADD", "CAMINA_DEDOVASIJA"); _local3 = AddItem("mcPlumaFenix", "PLUMA_FENIX", "W", "Una pluma"); _local3.AddMsg("A feather"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una pluma", ""); IterTask.AddMsg("A feather"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No como plumas", ""); IterTask.AddMsg("I don't eat feathers"); IterTask = _local2.AddTask("AGARRAR", "WALK", "TARGET", "", ""); IterTask.Position = "BACK"; IterTask = _local2.AddTask("GANA_PLUMA", "INV", "ITEM", "ADD", "AGARRAR"); IterTask.ItemName = "PLUMA_FENIX"; _local3 = AddItem("mcCalaveraAmarilla", "CALAVERA_AMARILLA", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un cr\u00E1neo amarillo", ""); IterTask.AddMsg("A yellow skull"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "Los cr\u00E1neos ya no pueden hablar", ""); IterTask.AddMsg("Skulls can't talk"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Est\u00E1 muy alto", ""); IterTask.AddMsg("It's too high"); _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_ACCIO", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("COMENTA_NOFUNCIONA", "PANEL", 0, "Ese hechizo no me sirve", ""); IterTask.AddMsg("That spell won't do any good"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", ""); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba2"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("LLAMA", "PANEL", 0, "\u00A1\u00A1\u00A1ACCIO CRANEO!!!", "CAMINAR"); IterTask.AddMsg("ACCIO SKULL!!!"); IterTask = _local2.AddTask("BAJA_ITEM", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "ESTIRA_VARITA"); IterTask.ItemName = "CALAVERA_AMARILLA"; IterTask.MovieFrame = "Baja"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GANA_ITEM", "INV", "ITEM", "ADD", "BAJA_ITEM"); IterTask.ItemName = "CALAVERA_AMARILLA"; IterTask = _local2.AddTask("CAMBIA_INFO", "ITEM_PROPERTY", "INFO", "Cr\u00E1neo amarillo", "BAJA_ITEM"); IterTask.AddMsg("A Yelow skull"); IterTask.ItemName = "CALAVERA_AMARILLA"; IterTask = _local2.AddTask("COMENTA_GANA", "PANEL", 0, "Que no se diga que perd\u00ED la cabeza... je je", "GANA_ITEM"); IterTask.AddMsg("You can't say i lost my head... he he"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_GANA"); _local3 = AddItem("mcBalde", "AGUA_NILO", "W", "Un balde"); _local3.AddMsg("A bucket"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un balde con agua ... estoy casi seguro que es de un r\u00EDo eg\u00EDpcio", ""); IterTask.AddMsg("A bucket with water..... I'm 99% sure it's from an egyptian river"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No hay forma", ""); IterTask.AddMsg("No way"); IterTask = _local2.AddTask("AGARRAR", "CONDITIONAL", "", "", "BAJO_BALDE"); IterTask.AddCondition("HAVE@BAJO_BALDE", "CAMINAR"); IterTask.AddCondition("ELSE", "AGARRAR2"); IterTask = _local2.AddTask("AGARRAR2", "PANEL", 0, "Est\u00E1 muy alto", ""); IterTask.AddMsg("It's too high"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", ""); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("BALDE_NORMAL", "MOVIE_ITEM", "GOTOANDSTOP", "", "CAMINAR"); IterTask.ItemName = "AGUA_NILO"; IterTask.MovieFrame = "Normal"; IterTask.AnimationMode = "ASYNC"; IterTask = _local2.AddTask("AGARRA_BALDE", "INV", "ITEM", "ADD", "CAMINAR"); IterTask.ItemName = "AGUA_NILO"; _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("AGARRAR", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@BAJO_BALDE", "COMENTA_BAJO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_BAJO", "PANEL", 0, "Ya no es necesario hacer magia sobre el balde", ""); IterTask.AddMsg("It's no longer necessary"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_ACCIO", "COMENTA_ACCIO"); IterTask.AddCondition("HAVE@SPELLED_DISCENDIO", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSEXYZ"); IterTask.AddCondition("ELSE", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("COMENTA_NOFUNCIONA", "PANEL", 0, "Ese hechizo no me sirve", ""); IterTask.AddMsg("That spell won't do any good"); IterTask.Position = "Front"; IterTask = _local2.AddTask("COMENTA_ACCIO", "PANEL", 0, "Podr\u00EDa ser pero el agua se puede derramar", ""); IterTask.AddMsg("It could work but the water could spill"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSEXYZ", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NOFUNCIONA"); IterTask.AddFinishParentName("COMENTA_ACCIO"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", ""); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba2"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("LLAMA", "PANEL", 0, "\u00A1Discendio!", "CAMINAR"); IterTask.AddMsg("Discendio!"); IterTask = _local2.AddTask("BAJAR", "MOVIE_ITEM", "GOTOANDPLAY", "", "ESTIRA_VARITA"); IterTask.ItemName = "AGUA_NILO"; IterTask.MovieFrame = "Baja"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("BAJO_BALDE", "ACTION", "ADD", "BAJO_BALDE", "BAJAR"); IterTask = _local2.AddTask("ORIENTA_OBAMA3", "CHAR_DIRECTION", "", "RIGHT", "BAJO_BALDE"); IterTask.AddParentName("LLAMA"); IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA3"); IterTask = _local2.AddTask("COMENTA_PRECIO", "PANEL", 0, "Me pregunto si este hechizo tambi\u00E9n servir\u00E1 para bajar la inflaci\u00F3n", "FREEMOUSE2"); IterTask.AddMsg("I wonder if this spell also makes inflation lower"); IterTask.Position = "Front"; IterTask.Expresion = "Malevolo"; _local3 = AddItem("mcFlechaAbajo", "FLECHA", "W", "Salir"); _local2 = _local3.AddFriend("MOUSE"); _local2.AddMsg("Leave"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "FRONT"; IterTask = _local2.AddTask("SALIR_CASA", "SCENE", "", "FILCH", "CAMINAR"); IterTask.MovieName = "mcFilch.mcFlechaArriba.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "FRONT"; mcCuartoPociones.mcLlamaCaldero._visible = false; mcCuartoPociones.mcLlamaCaldero.gotoAndStop(1); mcCuartoPociones.mcHumoFeliz._visible = false; var _local4; _local4 = GetSceneByName("CUARTO_POCIONES").AddSortRule("CALAVERA"); _local4.AddItem("CALAVERA"); _local4.AddItem("MUEBLE_CALAVERA"); _local4.AddItem("PINZAS"); _local4 = GetSceneByName("CUARTO_POCIONES").AddSortRule("CALDERO"); _local4.AddItem("HUMO_FELIZ"); _local4.AddItem("LLAMA_CALDERO"); _local4.AddItem("CALDERO"); _local4.AddItem("LENA_CALDERO"); } function SF_Peter_doorTasks() { var _local3; var _local2; var _local5; curScene = GetSceneByName("PETER_DOOR"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("GANA_ACCIO", "ACTION", "ADD", "TIENE_ACCIO", "START"); IterTask = _local2.AddTask("GANA_PERGAMINO", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "PERGAMINO"; IterTask = _local2.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "VARITA"; IterTask = _local2.AddTask("GANA_CALAVERA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "CALAVERA_AMARILLA"; IterTask = _local2.AddTask("GANA_REVELUM", "ACTION", "ADD", "TIENE_REVELUM", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_ALOHOMORA", "ACTION", "ADD", "TIENE_ALOHOMORA", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_RELASHIO", "ACTION", "ADD", "TIENE_RELASHIO", "GANA_ACCIO"); IterTask = _local2.AddTask("GANA_RELASHIO", "ACTION", "ADD", "TIENE_RELASHIO", "GANA_ALOHOMORA"); IterTask = _local2.AddTask("GANA_PLUMA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "PLUMA_FENIX"; IterTask = _local2.AddTask("GANA_TINTA", "INV", "ITEM", "ADD", "GANA_ACCIO"); IterTask.ItemName = "TINTA"; IterTask = _local2.AddTask("AFLOJO_BAUL", "ACTION", "ADD", "AFLOJO_BAUL", "GANA_ACCIO"); _local3 = AddItem(undefined, "DELAY_PETER_DOOR", "D"); _local2 = _local3.AddFriend("DELAY_PETER_DOOR_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendPeter_door = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryPeter_door", "I"); _local3 = AddItem(undefined, "MousePeter_door", "M"); _local3 = AddItem("mcWalkRange", "TerrenoPeter_door", "T"); _local2 = _local3.AddFriend("MousePeter_door", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_PETER_DOOR", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_PETER_DOOR", "Normal", "Front"); _local3 = AddItem("mcKratcher", "KRATCHER", "W", "Un elfo dom\u00E9stico"); _local3.AddMsg("A domestic elf"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Un elfo dom\u00E9stico no muy bien vestido que digamos", ""); IterTask.AddMsg("A domestic elf, not so well dressed"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Estoy en contra de la violencia", ""); IterTask.AddMsg("I don't support violence"); IterTask = _local2.AddTask("HABLAR", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_KRATCHER", "WALK", "TARGET", "", "HABLAR"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("DECIDE_DIALOGO", "CONDITIONAL", "", "", "CAMINA_KRATCHER"); IterTask.AddCondition("HAVE@ENSENO_PERGAMINO", "DECISION_KRATCHER2"); IterTask.AddCondition("ELSE", "DECISION_KRATCHER1"); IterTask = _local2.AddTask("DECISION_KRATCHER1", "TALK", "DIALOG", "DECISION_KRATCHER1", ""); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "DECISION_KRATCHER1"); IterTask = _local2.AddTask("DECISION_KRATCHER2", "TALK", "DIALOG", "DECISION_KRATCHER2", ""); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("DECIDE_ESFUMAR", "CONDITIONAL", "", "", "DECISION_KRATCHER2"); IterTask.AddCondition("HAVE@ORDENO_KRATCHER", "ESFUMAR"); IterTask.AddCondition("ELSE", "FREEMOUSE2"); IterTask = _local2.AddTask("ESFUMAR", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "KRATCHER"; IterTask.MovieFrame = "Chasquido"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("KRATCHER", "MOVIE_ITEM", "VISIBLE", false, "ESFUMAR"); IterTask.ItemName = "KRATCHER"; IterTask = _local2.AddTask("ESFUMO_KRATCHER", "ACTION", "ADD", "ESFUMO_KRATCHER", "ESFUMAR"); IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "ESFUMAR"); IterTask = _local2.AddTask("COMENTA_OBEDIENTE", "PANEL", 0, "Es un elfo reneg\u00F3n pero obediente", "FREEMOUSE2"); IterTask.AddMsg("He's a bit cranky but obedient elf"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; IterTask = _local2.AddTask("ORDENO_KRATCHER", "ACTION", "ADD", "ORDENO_KRATCHER", ""); _local2 = _local3.AddFriend("PERGAMINO"); IterTask = _local2.AddTask("DECIDE_PERGAMINO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@REVELO_LETRAS", "PERGAMINO_VACIO"); IterTask.AddCondition("DONTHAVE@ESCRIBIO_OBAMA", "PERGAMINO_INCOMPLETO"); IterTask.AddCondition("HAVE@ENSENO_PERGAMINO", "YA_MOSTRE"); IterTask.AddCondition("ELSE", "MOSTRAR"); IterTask = _local2.AddTask("PERGAMINO_VACIO", "PANEL", 0, "\u00BFPara qu\u00E9 le mostrar\u00EDa un pergamino vac\u00EDo?", ""); IterTask.AddMsg("Why would i show him an empty paper?"); IterTask = _local2.AddTask("PERGAMINO_INCOMPLETO", "PANEL", 0, "No creo que me sirva entregarlo algo incompleto", ""); IterTask.AddMsg("It's incomplete, i don't think i should give it yet."); IterTask = _local2.AddTask("YA_MOSTRE", "PANEL", 0, "Ya se lo mostr\u00E9, no es necesario hacerlo otra vez", ""); IterTask.AddMsg("I already showed it to him"); IterTask = _local2.AddTask("MOSTRAR", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_KRATCHER", "WALK", "TARGET", "", "MOSTRAR"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("DIALOGO_MUESTRA", "TALK", "DIALOG", "ENSENAPERGAMINO_1", "CAMINA_KRATCHER"); IterTask.DialogLocked = true; IterTask.PlayVoice = false; IterTask = _local2.AddTask("ENSENO_PERGAMINO", "ACTION", "ADD", "ENSENO_PERGAMINO", "DIALOGO_MUESTRA"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "DIALOGO_MUESTRA"); _local3 = AddItem("mcPuerta", "PUERTA_PETER", "W", "Una puerta"); _local3.AddMsg("A door"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("DECIDE_MENU", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@ABRIO_PUERTA_PETER", "NADA"); IterTask.AddCondition("DONTHAVE@ESFUMO_KRATCHER", "MENU1"); IterTask.AddCondition("ELSE", "MENU2"); IterTask = _local2.AddTask("MENU1", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una puerta bloqueada bloqueada por un elfo dom\u00E9stico", ""); IterTask.AddMsg("A door, blocked by some kind of elf"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No puedo acercarme ... tengo que librarme del elfo primero", ""); IterTask.AddMsg("I can't get near to the door, the elf is in the way"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "No puedo acercarme ... tengo que librarme del elfo primero", ""); IterTask.AddMsg("I can't get near to the door, the elf is in the way"); IterTask = _local2.AddTask("MENU2", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR2"; IterTask.EyeTask = "MIRAR2"; IterTask.MouthTask = "HABLAR2"; IterTask = _local2.AddTask("MIRAR2", "PANEL", 0, "\u00BFA d\u00F3nde conducir\u00E1 est\u00E1 puerta?", ""); IterTask.AddMsg("Where will this door lead to?"); IterTask = _local2.AddTask("HABLAR2", "PANEL", 0, "\u00BFHablar con una puerta? \u00BFInsin\u00FAas que estoy loco?", ""); IterTask.AddMsg("I can't eat nor talk to it, so think again"); IterTask.Expresion = "Amargo"; IterTask.Position = "FRONT"; IterTask.AddMsg("No way"); IterTask = _local2.AddTask("AGARRAR2", "WALK", "TARGET", "", ""); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "LEFT", "AGARRAR2"); IterTask = _local2.AddTask("MANO_OBAMA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "AGARRAR2"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Stand_Back_Hand"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 20; IterTask = _local2.AddTask("COMENTA_ATASCO", "PANEL", 0, "Est\u00E1 atascada", "MANO_OBAMA"); IterTask.AddMsg("It's jammed"); IterTask.Expresion = "Triste"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("DECIDE_HECHIZO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@ABRIO_PUERTA_PETER", "COMENTA_NOMAGIA"); IterTask.AddCondition("DONTHAVE@ESFUMO_KRATCHER", "COMENTA_ANTES"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_ANTES", "PANEL", 0, "Antes debo deshacerme del elfo pues podr\u00EDa repeler el hechizo", ""); IterTask.AddMsg("I have to get rid of the elf first, he could repel the spell"); IterTask = _local2.AddTask("COMENTA_NOMAGIA", "PANEL", 0, "Ya est\u00E1 abierta", ""); IterTask.AddMsg("It's open"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_ALOHOMORA", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("COMENTA_NO_AYUDA", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", ""); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOVIE", "", ""); IterTask.Position = "RIGHT"; IterTask.MovieName = "mcGuiaHechizo"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GRITA_ALOHOMORA", "PANEL", 0, "\u00A1Alohomora!", "CAMINAR"); IterTask.AddMsg("Alohomora!"); IterTask = _local2.AddTask("SONIDO_PUERTA", "SOUND", "ASINCRONO", "", "GRITA_ALOHOMORA"); IterTask.SoundName = "puerta_botiquin"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local2.AddTask("ABRE_PUERTA", "MOVIE_ITEM", "GOTOANDSTOP", "", "GRITA_ALOHOMORA"); IterTask.ItemName = "PUERTA_PETER"; IterTask.MovieFrame = "Abierta"; IterTask.AnimationMode = "ASYNC"; IterTask = _local2.AddTask("MUESTRA_FLECHA", "MOVIE_ITEM", "VISIBLE", true, "ABRE_PUERTA"); IterTask.ItemName = "FLECHA_ARRIBA_KRATCHER"; IterTask = _local2.AddTask("ABRIO_PUERTA_PETER", "ACTION", "ADD", "ABRIO_PUERTA_PETER", "ABRE_PUERTA"); IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "ABRIO_PUERTA_PETER"); IterTask.AddParentName("ESTIRA_VARITA"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA"); _local3 = AddItem("mcFlechaIzquierda", "FLECHA_IZQUIERDA", "W", "Regresar"); _local3.AddMsg("Go Back"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "LEFT"; IterTask = _local2.AddTask("APANDA", "SCENE", "", "FILCH", "CAMINAR"); IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "LEFT"; IterTask.MovieName = "mcFilch.mcFlechaDerecha.mcTarget"; _local3 = AddItem("mcFlechaArriba", "FLECHA_ARRIBA_KRATCHER", "W", "Entrar"); _local3.AddMsg("Enter"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "BACK"; IterTask = _local2.AddTask("ENTRAR_CASA", "SCENE", "", "PETER_ROOM", "CAMINAR"); IterTask.MovieName = "mcPeterRoom.mcFlechaAbajo.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "BACK"; mcPeterDoor.mcFlechaArriba._visible = false; mcPeterDoor.mcGuiaHechizo._visible = false; var _local4; _local4 = GetSceneByName("PETER_DOOR").AddSortRule("PUERTA"); _local4.AddItem("FLECHA_ARRIBA_KRATCHER"); _local4.AddItem("KRATCHER"); _local4.AddItem("PUERTA_PETER"); InitDialogoKratcher(); } function InitDialogoKratcher() { var _local1; Block = new objBlock("DECISION_KRATCHER1", undefined, "", "O"); _local1 = Block.AddOption("\u00BFMe puedes dejar pasar?", "DEJAPASAR_1", false); _local1.AddMsg("Can you let me through?"); _local1 = Block.AddOption("Hola Dobby \u00BFC\u00F3mo est\u00E1s?", "DOBBY_1", false); _local1.AddMsg("Hi Dobby, How are you?"); _local1 = Block.AddOption("\u00BFD\u00F3nde est\u00E1 Voldemord?", "DONDEVOLDEMORD_1", false); _local1.AddMsg("Where is Voldemort?"); BlockAdmin.AddBlock(Block); Block = new objBlock("DECISION_KRATCHER2", undefined, "", "O"); _local1 = Block.AddOption("\u00BFMe puedes dejar pasar?", "DEJAPASAR_1", false); _local1.AddMsg("Can you let me through?"); _local1 = Block.AddOption("Hola Dobby \u00BFC\u00F3mo est\u00E1s?", "DOBBY_1", false); _local1.AddMsg("Hi Dobby, How are you?"); _local1 = Block.AddOption("Te ordeno que me dejes pasar", "ORDENODEJES_1", false); _local1.AddMsg("I order you to let me through"); BlockAdmin.AddBlock(Block); Block = new objBlock("DEJAPASAR_1", "MAIN", "DEJAPASAR_2", "B", "Emocionado", "Emocionado"); BlockAdmin.AddBlock(Block); Block = new objBlock("DEJAPASAR_2", "KRATCHER", "LAST_OPTION", "B", "Arrochado", "Normal"); Block.Message = "Kratcher no le hace favores a muggles ni a ning\u00FAn sangre sucia"; Block.AddMsg("Kratcher doesn't do favors to muggles"); BlockAdmin.AddBlock(Block); Block = new objBlock("DOBBY_1", "MAIN", "DOBBY_2", "B", "Alegre", "Alegre"); BlockAdmin.AddBlock(Block); Block = new objBlock("DOBBY_2", "KRATCHER", "DOBBY_3", "B", "Arrochado", "Arrochado"); Block.Message = "NOOOOO .... No me confunda con ese elfo tonto"; Block.AddMsg("I'm not that dumb elf"); BlockAdmin.AddBlock(Block); Block = new objBlock("DOBBY_3", "KRATCHER", "DOBBY_4", "B", "Arrochado", "Arrochado"); Block.Message = "Yo me llamo Kratcher ... K R A T C H E R .... Ten\u00EDas que ser muggle"; Block.AddMsg("My name is Kratcher... K R A T C H E R... No wonder you are a muggle"); BlockAdmin.AddBlock(Block); Block = new objBlock("DOBBY_4", "MAIN", "LAST_OPTION", "B", "Emocionado", "Normal"); Block.Message = "Oh.... disculpe usted se\u00F1or Kratcher"; Block.AddMsg("Oh... Im sorry mister Kratcher"); BlockAdmin.AddBlock(Block); Block = new objBlock("DONDEVOLDEMORD_1", "MAIN", "DONDEVOLDEMORD_2", "B", "Normal", "Normal"); BlockAdmin.AddBlock(Block); Block = new objBlock("DONDEVOLDEMORD_2", "KRATCHER", "DONDEVOLDEMORD_3", "B", "Amargo", "Amargo"); Block.Message = "Kratcher no sabe donde est\u00E1 el gran se\u00F1or ... y a\u00FAn si lo supiera no se lo dir\u00EDa"; Block.AddMsg("Kratcher doesn't know where the Great Lord is... and even if he knew, he wouldn't tell you"); BlockAdmin.AddBlock(Block); Block = new objBlock("DONDEVOLDEMORD_3", "MAIN", "LAST_OPTION", "B", "Amargo", "Normal"); Block.Message = "Elfo malagracia"; Block.AddMsg("You cranky ugly elf"); BlockAdmin.AddBlock(Block); Block = new objBlock("ORDENODEJES_1", "MAIN", "ORDENODEJES_2", "B", "Malevolo", "Malevolo"); Block.Message = "En vista que soy tu due\u00F1o te ordeno que desaparezcas y te vayas lejos de aqu\u00ED"; Block.AddMsg("Since i'm your boss i order you to disappear"); Block.TaskToLunchAtBegin = "ORDENO_KRATCHER"; Block.StartLock = true; BlockAdmin.AddBlock(Block); Block = new objBlock("ORDENODEJES_2", "KRATCHER", "ORDENODEJES_3", "B", "Malevolo", "Malevolo"); Block.Message = "Kratcher detesta obedecer a un muggle pero no le queda otra opci\u00F3n"; Block.AddMsg("Kratcher hates to obey a muggle but doesn't have much of a choice"); BlockAdmin.AddBlock(Block); Block = new objBlock("ORDENODEJES_3", "KRATCHER", "", "B", "Malevolo", "Normal"); Block.Message = "Kratcher odia a su amo pero igual tendr\u00E1 que obedecer"; Block.AddMsg("Kratcher hates his master but will obey anyway"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); Block = new objBlock("ENSENAPERGAMINO_1", "KRATCHER", "ENSENAPERGAMINO_2", "B", "Malevolo", "Malevolo"); Block.Message = "As\u00ED que el odioso muggle es ahora mi amo ... A Kratcher no le hace nada de gracia esto"; Block.AddMsg("Hmmm... so the muggle is now my master... Kratcher doesn't like this at all"); Block.StartLock = true; BlockAdmin.AddBlock(Block); Block = new objBlock("ENSENAPERGAMINO_2", "KRATCHER", "ENSENAPERGAMINO_3", "B", "Malevolo", "Malevolo"); Block.Message = "Kratcher preferir\u00EDa estar con los Malfoy a estar con este odioso muggle"; Block.AddMsg("Kratcher would rather be with the Malfoy"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENSENAPERGAMINO_3", "MAIN", "ENSENAPERGAMINO_4", "B", "Malevolo", "Malevolo"); Block.Message = "Bueno a m\u00ED tampoco me hace gracia ser tu amo pero que le vamos a hacer"; Block.AddMsg("Well, i couldn't care less about being your master, but whatever"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENSENAPERGAMINO_4", "KRATCHER", "ENSENAPERGAMINO_5", "B", "Malevolo", "Malevolo"); Block.Message = "Kratcher intentar\u00E1 librarse de este odioso muggle"; Block.AddMsg("Kratcher will try to get rid of this irritating muggle"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENSENAPERGAMINO_5", "MAIN", "ENSENAPERGAMINO_6", "B", "Amargo", "Amargo"); Block.Message = "\u00BFQUE DIJISTE?"; Block.AddMsg("WHAT WAS THAT?"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENSENAPERGAMINO_6", "KRATCHER", "ENSENAPERGAMINO_7", "B", "Malevolo", "Malevolo"); Block.Message = "Nada ... nada ... solo dije que Kratcher intentar\u00E1 servirle se\u00F1or muggle Obama"; Block.AddMsg("Nothing... nothing... i said Kratcher will try to serve you well"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENSENAPERGAMINO_7", "MAIN", "", "B", "Malevolo", "Normal"); Block.Message = "As\u00ED me gusta"; Block.AddMsg("That's more like it"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); } function SF_Peter_roomTasks() { var _local3; var _local2; var _local4; curScene = GetSceneByName("PETER_ROOM"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "START"); IterTask.ItemName = "VARITA"; IterTask = _local2.AddTask("GANA_COPA", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "COPA"; IterTask = _local2.AddTask("GANA_LIBRO", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "LIBRO_AZUL"; IterTask = _local2.AddTask("GANA_CAPA", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "CAPA"; IterTask = _local2.AddTask("GANA_BUDGER", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "BUDGER"; _local3 = AddItem(undefined, "DELAY_PETER_ROOM", "D"); _local2 = _local3.AddFriend("DELAY_PETER_ROOM_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendPeter_room = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local3 = AddItem(undefined, "InventoryPeter_room", "I"); _local3 = AddItem(undefined, "MousePeter_room", "M"); _local3 = AddItem("mcWalkRange", "TerrenoPeter_room", "T"); _local2 = _local3.AddFriend("MousePeter_room", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_PETER_ROOM", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_PETER_ROOM", "Normal", "Front"); _local3 = AddItem("mcCopa", "COPA", "W", "Un traslador"); _local3.AddMsg("A portkey"); _local2 = _local3.AddFriend("MOUSE"); _local2 = _local3.AddFriend("INVENTORY", "", ""); IterTask = _local2.AddTask("DECIDE_VIAJAR", "CONDITIONAL", "", "", "START_INV"); IterTask.AddCondition("DONTHAVE@GANO_BLUDGER", "OLVIDAS"); IterTask.AddCondition("DONTHAVE@TIENE_FELICIS", "OLVIDAS2"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("OLVIDAS", "PANEL", 0, "Me parece que nos estamos olvidando algo del cuarto de Harry", ""); IterTask.AddMsg("I think we're forgetting something from Harry's room"); IterTask.Position = "Front"; IterTask = _local2.AddTask("OLVIDAS2", "PANEL", 0, "Me parece que nos estamos olvidando algo del cuarto del caldero", ""); IterTask.AddMsg("I think we're forgetting something from the caldron room"); IterTask.Position = "Front"; IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("COMENTA_ISLA", "PANEL", 0, "\u00A1Ahora vamos a recuperar la Moneda M\u00E1gica!", "BLOCKMOUSE"); IterTask.AddMsg("Now, let's get the magic coin back!"); IterTask.Expresion = "Amargo"; IterTask.Position = "Front"; IterTask = _local2.AddTask("A_TROLL", "SCENE", "", "TROLL_ROOM", "COMENTA_ISLA"); IterTask.MovieName = "mcTrollRoom.mcGuiaTraslador"; IterTask.Transition = true; IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("USO_TRASLADOR", "ACTION", "ADD", "USO_TRASLADOR", "COMENTA_ISLA"); IterTask = _local2.AddTask("PIERDE_COPA", "INV", "ITEM", "DROP", "COMENTA_ISLA"); IterTask.ItemName = "COPA"; IterTask = _local2.AddTask("PIERDE_CAPA", "INV", "ITEM", "DROP", "COMENTA_ISLA"); IterTask.ItemName = "CAPA"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "A_TROLL"); IterTask = _local2.AddTask("COMENTA_CUEVA", "PANEL", 0, "Llegamos a la cueva de Voldemort y por lo visto no va a ser f\u00E1cil", "FREEMOUSE"); IterTask.AddMsg("Hmm... we are inside Moldemort's cave and it's not gonna be easy"); IterTask.Expresion = "Asustado"; IterTask.Position = "Right"; IterTask.CanSpeed = false; IterTask = _local2.AddTask("COMENTA_CUEVA2", "PANEL", 0, "Para colmo perd\u00ED la capa luego de usar el traslador", "COMENTA_CUEVA"); IterTask.AddMsg("To make matters worse I lost the cloak after using the portkey"); IterTask.Expresion = "Triste"; IterTask.CanSpeed = false; IterTask.Position = "Front"; _local3 = AddItem("mcPeter", "PETER", "W", "Una rata"); _local3.AddMsg("A mouse"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("DECIDE_MENU", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@COMIO_RANA", "MENU3"); IterTask.AddCondition("HAVE@CONVIRTIO_PETER", "MENU2"); IterTask.AddCondition("ELSE", "MENU1"); IterTask = _local2.AddTask("MENU1", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "Una rata con una sonrisa mal\u00E9vola", ""); IterTask.AddMsg("A rat with an evil smile"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No hablo rata\u00F1ol", ""); IterTask.AddMsg("I don't speak rataniun"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "Ni hablar ... podr\u00EDa morderme", ""); IterTask.AddMsg("No way ... it could bite me"); IterTask = _local2.AddTask("MENU2", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR2"; IterTask.EyeTask = "MIRAR2"; IterTask.MouthTask = "HABLAR2"; IterTask = _local2.AddTask("MIRAR2", "PANEL", 0, "As\u00ED que la rata era Peter Pettipuff", ""); IterTask.AddMsg("It was Peter Pettipuff"); IterTask = _local2.AddTask("AGARRAR2", "PANEL", 0, "Ni hablar ... podr\u00EDa morderme", ""); IterTask.AddMsg("No way ... it could bite me"); IterTask = _local2.AddTask("HABLAR2", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_PETER2", "WALK", "TARGET", "", "HABLAR2"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("NECESITO_INFO_1", "TALK", "DIALOG", "NECESITO_INFO_1", "CAMINA_PETER2"); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("FREEMOUSE1", "MOUSE_STATE", "TOTAL", "ENABLED", "NECESITO_INFO_1"); IterTask = _local2.AddTask("MENU3", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR3"; IterTask.EyeTask = "MIRAR3"; IterTask.MouthTask = "HABLAR3"; IterTask = _local2.AddTask("MIRAR3", "PANEL", 0, "Ahora tiene el aspecto de una rata sincera", ""); IterTask.AddMsg("Now he looks like a friendly sincere rat"); IterTask = _local2.AddTask("AGARRAR3", "PANEL", 0, "Mejor no lo toco", ""); IterTask.AddMsg("No way ... it could bite me"); IterTask = _local2.AddTask("HABLAR3", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@GANA_TRASLADOR", "COMENTA_YAHABLO"); IterTask.AddCondition("ELSE", "HABLAR3B"); IterTask = _local2.AddTask("COMENTA_YAHABLO", "PANEL", 0, "Ya dijo todo lo que quer\u00EDa saber", ""); IterTask.AddMsg("He's already talked.... and too much he he he"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; IterTask = _local2.AddTask("HABLAR3B", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_PETER3", "WALK", "TARGET", "", "HABLAR3"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("DECISION_PETER", "TALK", "DIALOG", "DECISION_PETER", "CAMINA_PETER3"); IterTask.DialogLocked = false; IterTask.PlayVoice = false; IterTask = _local2.AddTask("GANA_TRASLADOR", "DUMMY", "", "", ""); IterTask = _local2.AddTask("GANA_TRASLADOR2", "ACTION", "ADD", "GANA_TRASLADOR", "GANA_TRASLADOR"); IterTask = _local2.AddTask("GANA_COPA", "INV", "ITEM", "ADD", "GANA_TRASLADOR"); IterTask.ItemName = "COPA"; IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "DECISION_PETER"); _local2 = _local3.AddFriend("CHOCOFROG", "", ""); IterTask = _local2.AddTask("DECIDE_HECHIZO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@CONVIRTIO_PETER", "COMENTA_QUESO"); IterTask.AddCondition("DONTHAVE@MOJO_RANA", "COMENTA_MOJAR"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_QUESO", "PANEL", 0, "Las ratas no comen chocolate sino queso", ""); IterTask.AddMsg("Rats eat cheese, not chocolate"); IterTask = _local2.AddTask("COMENTA_MOJAR", "PANEL", 0, "Buena idea, pero antes debemos ponerle algo", ""); IterTask.AddMsg("Good idea, but we need to put it somthing first"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("CAMINA_PETER", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("DIALOGO_RANA", "TALK", "DIALOG", "DIALOGO_RANA_1", "CAMINA_PETER"); IterTask.DialogLocked = true; IterTask.PlayVoice = false; IterTask = _local2.AddTask("COME_RANA", "MOVIE_ITEM", "GOTOANDPLAY", "", "DIALOGO_RANA"); IterTask.ItemName = "PETER"; IterTask.MovieFrame = "Come"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("COMIO_RANA", "ACTION", "ADD", "COMIO_RANA", "COME_RANA"); IterTask = _local2.AddTask("PIERDE_CHOCOFROG", "INV", "ITEM", "DROP", "DIALOGO_RANA"); IterTask.ItemName = "CHOCOFROG"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COME_RANA"); IterTask = _local2.AddTask("COMENTA_COMIO", "PANEL", 0, "Vaya que le gustaban las ranas de chocolate", "FREEMOUSE"); IterTask.AddMsg("Wow, he sure likes chocofrogs"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("VARITA", "", ""); IterTask = _local2.AddTask("DECIDE_HECHIZO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@CONVIRTIO_PETER", "COMENTA_NOMAGIA"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_NOMAGIA", "PANEL", 0, "Ya lo transform\u00E9, ya no es necesario ning\u00FAn hechizo adicional", ""); IterTask.AddMsg("I already transformed him, magic is not necessary anymore"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_ANIMAGUM", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("COMENTA_NO_AYUDA", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", ""); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NO_AYUDA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOVIE", "", ""); IterTask.Position = "RIGHT"; IterTask.MovieName = "mcGuiaHechizo"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaAbajo"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GRITA_ANIMAGUM", "PANEL", 0, "\u00A1Animagum Revelum!", "CAMINAR"); IterTask.AddMsg("Animagum Revelum!"); IterTask = _local2.AddTask("CONVIERTE_PETER", "MOVIE_ITEM", "GOTOANDPLAY", "", "GRITA_ANIMAGUM"); IterTask.ItemName = "PETER"; IterTask.MovieFrame = "Transforma"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("COMENTA_PETER_PETI", "PANEL", 0, "Miren a qui\u00E9n tenemos aqu\u00ED... nada m\u00E1s y nada menos que Peter Pettipuff", "CONVIERTE_PETER"); IterTask.AddMsg("Look who we have here... none other than Peter Pettipuff"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Right"; IterTask = _local2.AddTask("CONVIRTIO_PETER", "ACTION", "ADD", "CONVIRTIO_PETER", "CONVIERTE_PETER"); IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "GRITA_ANIMAGUM"); IterTask.AddParentName("ESTIRA_VARITA"); IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "CONVIERTE_PETER"); _local3 = AddItem("mcFlechaAbajo", "FLECHA", "W", "Salir"); _local2 = _local3.AddFriend("MOUSE"); _local2.AddMsg("Leave"); IterTask = _local2.AddTask("CAMINAR", "WALK", "TARGET", "", "START"); IterTask.Position = "FRONT"; IterTask = _local2.AddTask("SALIR_CASA", "SCENE", "", "PETER_DOOR", "CAMINAR"); IterTask.MovieName = "mcPeterDoor.mcFlechaArriba.mcTarget"; IterTask.Transition = true; IterTask.TransitionSpeed = "FAST"; IterTask.Position = "FRONT"; mcPeterRoom.mcGuiaHechizo._visible = false; var _local5; InitDialogoPeter(); } function InitDialogoPeter() { var _local1; Block = new objBlock("DECISION_PETER", undefined, "", "O"); _local1 = Block.AddOption("\u00BFC\u00F3mo as\u00ED entraste al Castillo?", "CASTILLO_1", false); _local1.AddMsg("How did you manage to get inside the castle?"); _local1 = Block.AddOption("\u00BFConoces a RatFace?", "RATFACE_1", false); _local1.AddMsg("Do you know RATFACE?"); _local1 = Block.AddOption("Dime c\u00F3mo puedo encontrar a Voldemord", "ENCONTRARVOLDEMORD_1", false); _local1.AddMsg("Tell me where can i find Voldemort"); BlockAdmin.AddBlock(Block); Block = new objBlock("NECESITO_INFO_1", "MAIN", "NECESITO_INFO_2", "B", "Alegre", "Alegre"); Block.Message = "Buenas se\u00F1or Pettipuff, necesito que me brinde cierta informaci\u00F3n"; Block.StartLock = true; Block.AddMsg("Good afternoon mister Pettipuff, i need some information"); BlockAdmin.AddBlock(Block); Block = new objBlock("NECESITO_INFO_2", "PETER", "NECESITO_INFO_3", "B", "Alegre", "Alegre"); Block.Message = "\u00BFQu\u00E9 clase de informaci\u00F3n?"; Block.AddMsg("What kind of information?"); BlockAdmin.AddBlock(Block); Block = new objBlock("NECESITO_INFO_3", "MAIN", "NECESITO_INFO_4", "B", "Alegre", "Alegre"); Block.Message = "Relacionada a Voldemord, creo que usted sabe como encontrarlo"; Block.AddMsg("Related to Voldemort, i think you know where to find him"); BlockAdmin.AddBlock(Block); Block = new objBlock("NECESITO_INFO_4", "PETER", "NECESITO_INFO_5", "B", "Amargo", "Amargo"); Block.Message = "\u00A1Si s\u00E9 c\u00F3mo encontrarlo pero jam\u00E1s dir\u00E9 nada! !SIEMPRE SERE FIEL AL SE\u00D1OR TENEBROSO\u00A1"; Block.AddMsg("I know where to find him, but i won't say anything! I'LL ALWAYS BE LOYAL TO THE DARK LORD!"); BlockAdmin.AddBlock(Block); Block = new objBlock("NECESITO_INFO_5", "MAIN", "", "B", "Amargo", "Normal"); Block.Message = "No muestra se\u00F1as de querer colaborar"; Block.AddMsg("Hmmm... i think he won't cooperate"); Block.ExitTalk = true; Block.PosicionInicial = "Front"; BlockAdmin.AddBlock(Block); Block = new objBlock("DIALOGO_RANA_1", "MAIN", "DIALOGO_RANA_2", "B", "Malevolo", "Malevolo"); Block.Message = "Se\u00F1or Pettipuff, acepte esta rana de chocolate como muestra de aprecio y camarader\u00EDa"; Block.AddMsg("Mister Pettipuff, please accept this chocofrog as show of my appreciation"); Block.StartLock = true; BlockAdmin.AddBlock(Block); Block = new objBlock("DIALOGO_RANA_2", "PETER", "DIALOGO_RANA_3", "B", "Malevolo", "Malevolo"); Block.Message = "\u00A1Gracias! \u00A1Adoro las Ranas de Chocolate!"; Block.AddMsg("Thanks! I love ChocoFrogs!"); BlockAdmin.AddBlock(Block); Block = new objBlock("DIALOGO_RANA_3", "MAIN", "", "B", "Malevolo", "Malevolo"); Block.Message = "Disfrutela lentamente ... no hay apuro ... je je je"; Block.AddMsg("Enjoy it... there's no rush... he he he"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); Block = new objBlock("CASTILLO_1", "MAIN", "CASTILLO_2", "B", "Malevolo", "Malevolo"); BlockAdmin.AddBlock(Block); Block = new objBlock("CASTILLO_2", "PETER", "CASTILLO_3", "B", "Malevolo", "Malevolo"); Block.Message = "Us\u00E9 el armario que conecta Borginn y Barks con Hogwards, Draco lo repar\u00F3"; Block.AddMsg("I used the closet that connects Borginn and Barks iwht Hogwards, Draco fixed it"); BlockAdmin.AddBlock(Block); Block = new objBlock("CASTILLO_3", "MAIN", "LAST_OPTION", "B", "Malevolo", "Malevolo"); Block.Message = "Interesante"; Block.AddMsg("Interesting"); BlockAdmin.AddBlock(Block); Block = new objBlock("RATFACE_1", "MAIN", "RATFACE_2", "B", "Malevolo", "Malevolo"); BlockAdmin.AddBlock(Block); Block = new objBlock("RATFACE_2", "PETER", "RATFACE_3", "B", "Malevolo", "Malevolo"); Block.Message = "Si, es un primo lejano"; Block.AddMsg("Yea, we are related i think"); BlockAdmin.AddBlock(Block); Block = new objBlock("RATFACE_3", "MAIN", "RATFACE_4", "B", "Malevolo", "Malevolo"); Block.Message = "Pues te cuento que en la aventura anterior de Inka Games lo capturamos"; Block.AddMsg("Well, we caught him in a previous adventure of Inka Games"); BlockAdmin.AddBlock(Block); Block = new objBlock("RATFACE_4", "PETER", "LAST_OPTION", "B", "Malevolo", "Malevolo"); Block.Message = "Que pena"; Block.AddMsg("Sad isn't it?"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_1", "MAIN", "ENCONTRARVOLDEMORD_2", "B", "Malevolo", "Malevolo"); Block.Message = "Por casualidad sabes c\u00F3mo puedo encontrar a Voldemord"; Block.StartLock = true; Block.AddMsg("You wouldn't happen to know how to find Voldemort, would you?"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_2", "PETER", "ENCONTRARVOLDEMORD_3", "B", "Malevolo", "Malevolo"); Block.Message = "Voldemord est\u00E1 escondido en la Isla de Mort, all\u00ED tiene secuestrada a la Aliquantum Prospera"; Block.AddMsg("Voldemort is hidden in Mort Island. He's got the Aliquantum Prospera with him"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_3", "MAIN", "ENCONTRARVOLDEMORD_4", "B", "Malevolo", "Malevolo"); Block.Message = "Interesante, \u00BFY c\u00F3mo llego a la Isla de Mort?"; Block.AddMsg("Interesting, and how do i get there?"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_4", "PETER", "ENCONTRARVOLDEMORD_5", "B", "Malevolo", "Malevolo"); Block.Message = "La \u00FAnica forma de llegar es mediante un traslador especial que me di\u00F3 Voldemord"; Block.AddMsg("The only way to get there is using the especial port key that Voldemort gave me"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_5", "MAIN", "ENCONTRARVOLDEMORD_6", "B", "Malevolo", "Malevolo"); Block.Message = "Necesito ese traslador, \u00BFMe lo puedes dar?"; Block.AddMsg("i need that port key, can i have it?"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_6", "PETER", "ENCONTRARVOLDEMORD_7", "B", "Malevolo", "Malevolo"); Block.Message = "\u00BFPor qu\u00E9 habr\u00EDa de d\u00E1rtelo?"; Block.AddMsg("Why would i give it to you?"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_7", "MAIN", "ENCONTRARVOLDEMORD_8", "B", "Malevolo", "Malevolo"); Block.Message = "Porque te invite una rana de chocolate"; Block.AddMsg("Because i gave you a Chocofrog?"); BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_8", "PETER", "ENCONTRARVOLDEMORD_9", "B", "Malevolo", "Malevolo"); Block.Message = "Cierto ... toma el traslador y muchas gracias por la rana"; Block.AddMsg("Ohh right... well... take it and thanks for the chocofrog"); Block.TaskToLunchAtEnd = "GANA_TRASLADOR"; BlockAdmin.AddBlock(Block); Block = new objBlock("ENCONTRARVOLDEMORD_9", "MAIN", "", "B", "Malevolo", "Malevolo"); Block.Message = "Gracias a t\u00ED por el traslador y tu sinceridad je je je"; Block.AddMsg("No, thank you for the port key, he he he"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); } function SF_Troll_roomTasks() { var _local3; var _local2; var _local5; curScene = GetSceneByName("TROLL_ROOM"); _local3 = AddItem(undefined, "STARTGAME", "S"); _local2 = _local3.AddFriend("STARTGAME", "", ""); IterTask = _local2.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "START"); IterTask.ItemName = "VARITA"; IterTask = _local2.AddTask("GANA_COPA", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "COPA"; IterTask = _local2.AddTask("GANA_LIBRO", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "LIBRO_AZUL"; IterTask = _local2.AddTask("GANA_CAPA", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "CAPA"; IterTask = _local2.AddTask("GANA_BUDGER", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "BLUDGER"; IterTask = _local2.AddTask("USO_TRASLADOR", "ACTION", "ADD", "USO_TRASLADOR", "GANA_VARITA"); _local3 = AddItem(undefined, "DELAY_TROLL_ROOM", "D"); _local2 = _local3.AddFriend("DELAY_TROLL_ROOM_INTRO", "", ""); _local2.AutoDisableMouse = true; IterTask = _local2.AddTask("DUMMY_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("SHOW_SKIPBUTTON", "FUNCTION", "SHOWSKIP", "", "DUMMY_INTRO"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "COMENTA_ROBO"); _local2 = _local3.AddFriend("SKIPINTRO", "", ""); _root.SkipIntroFriendTroll_room = _local2; IterTask = _local2.AddTask("SKIP_INTRO", "DUMMY", "", "", "START"); IterTask = _local2.AddTask("HIDE_SKIPBUTTON", "FUNCTION", "HIDESKIP", "", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP0", "CHAR_DIRECTION", "", "FRONT", "SKIP_INTRO"); IterTask = _local2.AddTask("SKIP1", "EXPRESION", "", "Normal", "SKIP_INTRO"); _local2 = _local3.AddFriend("DELAY_BUDGER", "", ""); IterTask = _local2.AddTask("DECIDE_BUDGER", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("DONTHAVE@USO_TRASLADOR", "COMENTA_PARAQUE"); IterTask.AddCondition("HAVE@GOLPEO_TROLL", "COMENTA_DERROTADO"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local2.AddTask("COMENTA_PARAQUE", "PANEL", 0, "\u00BFPara qu\u00E9 har\u00EDa magia sobre la pelota?", ""); IterTask.AddMsg("Why would I do that?"); IterTask.Expresion = "Normal"; IterTask.Position = "Front"; IterTask = _local2.AddTask("COMENTA_DERROTADO", "PANEL", 0, "\u00BFDarle otro pelotazo? ... mmm ... no soy tan malo", ""); IterTask.AddMsg("Bash him again?... hmm... I'm not that bad"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local2.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local2.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_LEVIOSA", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("COMENTA_NOFUNCIONA", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", ""); IterTask.AddMsg("I don't think that spell is gonna do any good"); IterTask.Position = "Front"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NOFUNCIONA"); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOVIE", "", ""); IterTask.Position = "RIGHT"; IterTask.MovieName = "mcGuiaHechizo"; IterTask = _local2.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("LANZA_HECHIZO", "PANEL", 0, "\u00A1Wingardium Leviossa!", "CAMINAR"); IterTask.AddMsg("Wingardium Leviossa!"); IterTask = _local2.AddTask("MUESTRA_BLUDGER", "MOVIE_ITEM", "VISIBLE", true, "ESTIRA_VARITA"); IterTask.ItemName = "BLUDGER_TROLL"; IterTask = _local2.AddTask("LANZA_BLUDGER", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "MUESTRA_BLUDGER"); IterTask.ItemName = "BLUDGER_TROLL"; IterTask.MovieFrame = "Vuela"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("REGRESA_BLUDGER", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "LANZA_BLUDGER"); IterTask.ItemName = "BLUDGER_TROLL"; IterTask.MovieFrame = "Golpe"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("GOLPEA_TROLL", "MOVIE_ITEM", "GOTOANDPLAY", "", "LANZA_BLUDGER"); IterTask.ItemName = "TROLL"; IterTask.MovieFrame = "Golpe"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("OCULTA_BLUDGER", "MOVIE_ITEM", "VISIBLE", false, "REGRESA_BLUDGER"); IterTask.ItemName = "BLUDGER_TROLL"; IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "REGRESA_BLUDGER"); IterTask.AddParentName("LANZA_HECHIZO"); IterTask = _local2.AddTask("GOLPEO_TROLL", "ACTION", "ADD", "GOLPEO_TROLL", "ORIENTA_OBAMA"); IterTask.AddParentName("GOLPEA_TROLL"); IterTask = _local2.AddTask("CANCELA_CHECKZON_TROLL", "ACTION", "ADD", "CANCELA_CHECKZON_TROLL", "GOLPEO_TROLL"); IterTask = _local2.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "GOLPEO_TROLL"); IterTask = _local2.AddTask("MUESTRA_FLECHA", "MOVIE_ITEM", "VISIBLE", true, "GOLPEO_TROLL"); IterTask.ItemName = "FLECHA_DERECHA_TROLL"; IterTask = _local2.AddTask("COMENTA_CAE", "PANEL", 0, "Mientras m\u00E1s grandes son m\u00E1s fuerte caen .. je je je", "FREEMOUSE2"); IterTask.AddMsg("The bigger they are the harder they fall... he he he"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; _local2 = _local3.AddFriend("DELAY_CRUZA_TROLL", "", ""); IterTask = _local2.AddTask("CHECK_DANGER_ZONE", "CHECK_EVENT", "HIT", "", ""); IterTask.CheckMovieHit1 = "mcTrollRoom.mcObama"; IterTask.CheckMovieHit2 = "mcTrollRoom.mcDangerZone"; IterTask.WaitFlow = false; IterTask.ItemName = "DELAY_TROLL_ROOM"; IterTask.FriendToLunch = "DELAY_GOLPEA_TROLL"; IterTask.DisableAction = "CANCELA_CHECKZON_TROLL"; IterTask.EnableAction = "ACTIVA_CHECKZON_TROLL"; IterTask.ReachedAction = "LUNCHED_CHECKZON_TROLL"; _local2 = _local3.AddFriend("DELAY_GOLPEA_TROLL", "", ""); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("ALINEA_TROLL", "MOVE", "ITEM", "", "BLOCKMOUSE"); IterTask.ItemName = "TROLL"; IterTask.TargetMovieName = "mcTrollRoom.mcObama"; IterTask.CancelXMovement = true; IterTask.MoveMode = "DIRECT"; IterTask = _local2.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "BLOCKMOUSE"); IterTask = _local2.AddTask("MAZO", "MOVIE_ITEM", "GOTOANDPLAY", "", "BLOCKMOUSE"); IterTask.ItemName = "TROLL"; IterTask.MovieFrame = "Mazo"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("DUMMY", "DUMMY", "", "", "BLOCKMOUSE"); IterTask.WaitFramesAtEnd = 5; IterTask = _local2.AddTask("CAE_OBAMA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "DUMMY"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "CaeBala"; IterTask.AnimationMode = "SYNC"; IterTask = _local2.AddTask("PERDISTE_TROLL", "SCREEN", "", "", "CAE_OBAMA"); IterTask.MovieName = "mcPerdisteAngel"; IterTask = _local2.AddTask("ALINEA_TROLL2", "MOVE", "ITEM", "", "CAE_OBAMA"); IterTask.ItemName = "TROLL"; IterTask.TargetMovieName = "mcTrollRoom.mcGuiaTroll"; IterTask.CancelXMovement = true; IterTask.MoveMode = "DIRECT"; IterTask = _local2.AddTask("REGRESA_TROLL", "MOVIE_ITEM", "GOTOANDSTOP", "", "CAE_OBAMA"); IterTask.ItemName = "TROLL"; IterTask.MovieFrame = "Normal"; IterTask.AnimationMode = "ASYNC"; IterTask = _local2.AddTask("MUEVE_OBAMA", "MOVE", "ITEM", "", "CAE_OBAMA"); IterTask.ItemName = "OBAMA_TROLL_ROOM"; IterTask.TargetMovieName = "mcTrollRoom.mcGuiaTraslador"; IterTask.MoveMode = "DIRECT"; IterTask = _local2.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "RIGHT", "CAE_OBAMA"); IterTask = _local2.AddTask("HABILITA_CHECKEVENT", "CHECKTASK_ENABLE", "", "HIT", "CAE_OBAMA"); IterTask.ItemName = "DELAY_TROLL_ROOM"; IterTask.FriendToLunch = "DELAY_CRUZA_TROLL"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "PERDISTE_TROLL"); _local3 = AddItem(undefined, "InventoryTroll_room", "I"); _local3 = AddItem(undefined, "MouseTroll_room", "M"); _local3 = AddItem("mcWalkRange", "TerrenoTroll_room", "T"); _local2 = _local3.AddFriend("MouseTroll_room", "", ""); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local3 = AddItem("mcObama", "OBAMA_TROLL_ROOM", "W"); _local3.ScanAtStart = false; _local2 = _local3.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_TROLL_ROOM", "Normal", "Front"); _local3 = AddItem("mcBludgerTroll", "BLUDGER_TROLL", "W", ""); _local3.AddMsg(""); _local2 = _local3.AddFriend("MOUSE"); _local3 = AddItem("mcTroll", "TROLL", "W", "Un troll"); _local3.AddMsg("A troll"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("DECIDE_MENU_TROLL", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@GOLPEO_TROLL", "MENU2"); IterTask.AddCondition("ELSE", "MENU1"); IterTask = _local2.AddTask("MENU1", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local2.AddTask("MIRAR", "PANEL", 0, "El Troll no se ve nada amigable", ""); IterTask.Expresion = "Asustado"; IterTask.AddMsg("He doesn't look friendly at all"); IterTask = _local2.AddTask("HABLAR", "PANEL", 0, "No creo que me quiera escuchar", ""); IterTask.Expresion = "Asustado"; IterTask.AddMsg("I don't think he wants to chat with me"); IterTask = _local2.AddTask("AGARRAR", "PANEL", 0, "\u00BFNo se te ocurre algo distinto?", ""); IterTask.AddMsg("No way"); IterTask.Expresion = "Asustado"; IterTask.Position = "FRONT"; IterTask = _local2.AddTask("MENU2", "MENUSCENE", "", "", ""); IterTask.HandTask = "AGARRAR2"; IterTask.EyeTask = "MIRAR2"; IterTask.MouthTask = "HABLAR2"; IterTask = _local2.AddTask("MIRAR2", "PANEL", 0, "Est\u00E1 en los brazos de morfeo je je je", ""); IterTask.AddMsg("He seems to have sweet dreams ... he he he"); IterTask.Expresion = "Malevolo"; IterTask = _local2.AddTask("HABLAR2", "PANEL", 0, "No creo que pueda decir ni una palabra je je", ""); IterTask.Expresion = "Malevolo"; IterTask.AddMsg("I don't think he's able to say a single word"); IterTask = _local2.AddTask("AGARRAR2", "PANEL", 0, "\u00BFLlevarme al troll cargando? ni hablar", ""); IterTask.AddMsg("I don't want to carry heavy objects"); _local2 = _local3.AddFriend("BLUDGER", "", ""); IterTask = _local2.AddTask("COMENTA_BLUDGER", "PANEL", 0, "Buena idea, pero no puedo acercarme mucho, quiz\u00E1 con alg\u00FAn hechizo", "START"); IterTask.AddMsg("Good idea but I can't get closer, maybe a spell could help"); IterTask.CanSpeed = false; IterTask.Expresion = "Normal"; IterTask.Position = "Front"; _local3 = AddItem("mcFlechaDerecha", "FLECHA_DERECHA_TROLL", "W", "Avanzar"); _local3.AddMsg("Go forward"); _local2 = _local3.AddFriend("MOUSE"); IterTask = _local2.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local2.AddTask("CAMINAR", "WALK", "MOVIE", "", "BLOCKMOUSE"); IterTask.Position = "RIGHT"; IterTask.MovieName = "mcGuiaTroll"; IterTask = _local2.AddTask("ENTRO_DEMENTOR", "ACTION", "ADD", "ENTRO_DEMENTOR", "CAMINAR"); IterTask = _local2.AddTask("AOVAL2", "SCENE", "", "DEMENTOR_ROOM", "CAMINAR"); IterTask.MovieName = "mcDementorRoom.mcGuiaInicio"; IterTask.Transition = true; IterTask.Position = "RIGHT"; IterTask = _local2.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "AOVAL2"); IterTask = _local2.AddTask("COMENTA_FANTASMA", "PANEL", 0, "Parece un fantasma", "FREEMOUSE"); IterTask.AddMsg("He looks like a ghost"); IterTask.Expresion = "Asustado"; mcTrollRoom.mcGuiaTraslador._visible = false; mcTrollRoom.mcBludgerTroll._visible = false; mcTrollRoom.mcGuiaHechizo._visible = false; mcTrollRoom.mcFlechaDerecha._visible = false; mcTrollRoom.mcDangerZone._visible = false; mcTrollRoom.mcGuiaTroll._visible = false; var _local4; _local4 = GetSceneByName("TROLL_ROOM").AddSortRule("BLUDGER"); _local4.AddItem("FLECHA_DERECHA_TROLL"); _local4.AddItem("BLUDGER_TROLL"); _local4.AddItem("TROLL"); } function SF_Dementor_roomTasks() { var _local2; var _local1; var _local4; curScene = GetSceneByName("DEMENTOR_ROOM"); _local2 = AddItem(undefined, "STARTGAME", "S"); _local1 = _local2.AddFriend("STARTGAME", "", ""); IterTask = _local1.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "START"); IterTask.ItemName = "VARITA"; IterTask = _local1.AddTask("GANA_FELICIS", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "FELICIS"; IterTask = _local1.AddTask("GANA_LIBRO", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "LIBRO_AZUL"; IterTask = _local1.AddTask("GANA_CAPA", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "CAPA"; IterTask = _local1.AddTask("GANA_BUDGER", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "BLUDGER"; IterTask = _local1.AddTask("USO_TRASLADOR", "ACTION", "ADD", "USO_TRASLADOR", "GANA_VARITA"); IterTask = _local1.AddTask("GANA_PATRONUM", "ACTION", "ADD", "TIENE_PATRONUM", "GANA_VARITA"); _local2 = AddItem(undefined, "DELAY_DEMENTOR_ROOM", "D"); _local1 = _local2.AddFriend("DELAY_ATACA_DEMENTOR", "", ""); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "BLOCKMOUSE"); IterTask = _local1.AddTask("ASUSTA", "EXPRESION", "", "Asustado", "BLOCKMOUSE"); IterTask = _local1.AddTask("MUEVE_DEMENTOR", "MOVE", "ITEM", "", "BLOCKMOUSE"); IterTask.ItemName = "DEMENTOR"; IterTask.TargetMovieName = "mcDementorRoom.mcObama"; IterTask.DeltaX = 10; IterTask.DeltaY = 10; IterTask.MoveMode = "TWEEN"; IterTask = _local1.AddTask("AGARRA_OBAMA", "MOVIE_ITEM", "GOTOANDPLAY", "", "MUEVE_DEMENTOR"); IterTask.ItemName = "DEMENTOR"; IterTask.MovieFrame = "AgarraObama"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("CAEBALA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "AGARRA_OBAMA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "CaeBala"; IterTask.AnimationMode = "ASYNC"; IterTask.WaitFramesAtEnd = 30; IterTask = _local1.AddTask("SUELTA_OBAMA", "MOVIE_ITEM", "GOTOANDPLAY", "", "CAEBALA"); IterTask.ItemName = "DEMENTOR"; IterTask.MovieFrame = "SueltaObama"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("RETROCEDE_DEMENTOR", "MOVE", "ITEM", "", "SUELTA_OBAMA"); IterTask.ItemName = "DEMENTOR"; IterTask.DistanceX = 100; IterTask.DeltaX = 5; IterTask.MoveMode = "TWEEN"; IterTask = _local1.AddTask("DUMMY", "DUMMY", "", "", "RETROCEDE_DEMENTOR"); IterTask.WaitFramesAtEnd = 5; IterTask = _local1.AddTask("CAE_OBAMA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "DUMMY"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "CaeBala"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("PERDISTE_DEMENTOR", "SCREEN", "", "", "CAE_OBAMA"); IterTask.MovieName = "mcPerdisteAngel"; IterTask = _local1.AddTask("REGRESA_DEMENTOR", "MOVE", "ITEM", "", "CAE_OBAMA"); IterTask.ItemName = "DEMENTOR"; IterTask.TargetMovieName = "mcDementorRoom.mcGuiaDementor"; IterTask.MoveMode = "DIRECT"; IterTask = _local1.AddTask("DEMENTOR_NORMAL", "MOVIE_ITEM", "GOTOANDSTOP", "", "CAE_OBAMA"); IterTask.ItemName = "DEMENTOR"; IterTask.MovieFrame = "Normal"; IterTask.AnimationMode = "ASYNC"; IterTask = _local1.AddTask("REGRESA_OBAMA", "MOVE", "ITEM", "", "CAE_OBAMA"); IterTask.ItemName = "OBAMA_DEMENTOR_ROOM"; IterTask.TargetMovieName = "mcDementorRoom.mcGuiaInicio"; IterTask.MoveMode = "DIRECT"; IterTask = _local1.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "RIGHT", "CAE_OBAMA"); IterTask = _local1.AddTask("ASUSTA", "EXPRESION", "", "Normal", "CAE_OBAMA"); IterTask = _local1.AddTask("HABILITA_CHECKEVENT", "CHECKTASK_ENABLE", "", "HIT", "CAE_OBAMA"); IterTask.ItemName = "DELAY_DEMENTOR_ROOM"; IterTask.FriendToLunch = "DELAY_CRUZA_DEMENTOR"; IterTask = _local1.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "PERDISTE_DEMENTOR"); _local1 = _local2.AddFriend("DELAY_CRUZA_DEMENTOR", "", ""); IterTask = _local1.AddTask("CHECK_DANGER_ZONE", "CHECK_EVENT", "HIT", "", ""); IterTask.CheckMovieHit1 = "mcDementorRoom.mcObama"; IterTask.CheckMovieHit2 = "mcDementorRoom.mcDangerZone"; IterTask.WaitFlow = false; IterTask.ItemName = "DELAY_DEMENTOR_ROOM"; IterTask.FriendToLunch = "DELAY_ATACA_DEMENTOR"; IterTask.DisableAction = "CANCELA_CHECKZON_DEMENTOR"; IterTask.EnableAction = "ACTIVA_CHECKZON_DEMENTOR"; IterTask.ReachedAction = "LUNCHED_CHECKZON_DEMENTOR"; _local2 = AddItem(undefined, "InventoryDementor_room", "I"); _local2 = AddItem(undefined, "MouseDementor_room", "M"); _local2 = AddItem("mcWalkRange", "TerrenoDementor_room", "T"); _local1 = _local2.AddFriend("MouseDementor_room", "", ""); IterTask = _local1.AddTask("CAMINAR", "WALK", "MOUSE", "", "START"); _local2 = AddItem("mcObama", "OBAMA_DEMENTOR_ROOM", "W"); _local2.ScanAtStart = false; _local1 = _local2.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_DEMENTOR_ROOM", "Normal", "Front"); _local2 = AddItem("mcPatronum", "PATRONUM", "W", ""); _local2.AddMsg(""); _local1 = _local2.AddFriend("MOUSE"); _local2 = AddItem("mcSacaCorchos", "SACACORCHOS", "W", "Sacacorchos"); _local2.AddMsg("Corkscrew"); _local1 = _local2.AddFriend("MOUSE"); _local2 = AddItem("mcSacaCorchosAux", "SACACORCHOS_AUX", "W", ""); _local2.AddMsg(""); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("CAMINA", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "BACK"; IterTask = _local1.AddTask("ORIENTA_OBAMAX", "CHAR_DIRECTION", "", "LEFT", "CAMINA"); IterTask = _local1.AddTask("INCLINA", "MOVIE_ITEM", "GOTOANDSTOPMC", "", "CAMINA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "Moneda"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local1.AddTask("GANA_SACACORCHOS", "INV", "ITEM", "ADD", "INCLINA"); IterTask.ItemName = "SACACORCHOS"; IterTask = _local1.AddTask("OCULTA_SACACORCHOS", "MOVIE", "VISIBLE", false, "INCLINA"); IterTask.MovieName = "mcDementorRoom.mcSacaCorchosMovie"; IterTask = _local1.AddTask("OCULTA_AUXILIAR", "MOVIE_ITEM", "VISIBLE", false, "INCLINA"); IterTask.ItemName = "SACACORCHOS_AUX"; IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "BACK", "INCLINA"); IterTask.WaitFramesAtEnd = 10; IterTask = _local1.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA"); IterTask = _local1.AddTask("COMENTA_CALAVERA", "PANEL", 0, "No creo que a la calavera le haga falta", "FREEMOUSE"); IterTask.AddMsg("I guess the skeleton won't need it anymore"); IterTask.Expresion = "Malevolo"; IterTask.Position = "Front"; _local2 = AddItem("mcDementor", "DEMENTOR", "W", "Un Demmentor"); _local2.AddMsg("A Demmentor"); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("MENU", "MENUSCENE", "", "", "START"); IterTask.HandTask = "AGARRAR"; IterTask.EyeTask = "MIRAR"; IterTask.MouthTask = "HABLAR"; IterTask = _local1.AddTask("MIRAR", "PANEL", 0, "Un monje volador", ""); IterTask.Expresion = "Asustado"; IterTask.AddMsg("A flying monk"); IterTask = _local1.AddTask("HABLAR", "PANEL", 0, "\u00BFHablarle? .. pero si no tiene boca", ""); IterTask.AddMsg("Talk with him? ... but he doesn't have a mouth"); IterTask.Expresion = "Asustado"; IterTask = _local1.AddTask("AGARRAR", "PANEL", 0, "\u00BFAgarrarlo? ... me muero de miedo", ""); IterTask.Expresion = "Asustado"; IterTask.Position = "FRONT"; IterTask.AddMsg("Grab him? ... but he scares me"); _local1 = _local2.AddFriend("BLUDGER", "", ""); IterTask = _local1.AddTask("COMENTA_SOLO", "PANEL", 0, "Eso solo funciona con trolls", "START"); IterTask.AddMsg("That only works with trolls"); IterTask.Expresion = "Triste"; IterTask.Position = "Front"; _local1 = _local2.AddFriend("VARITA", "", ""); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local1.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_PATRONUM", "CAMINAR"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local1.AddTask("COMENTA_NO_AYUDA", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", ""); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask = _local1.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "COMENTA_NO_AYUDA"); IterTask = _local1.AddTask("CAMINAR", "WALK", "MOVIE", "", ""); IterTask.Position = "RIGHT"; IterTask.MovieName = "mcGuiaHechizo"; IterTask = _local1.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "CAMINAR"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("GRITA_PATRONUM", "PANEL", 0, "\u00A1Expecto Patronum!", "CAMINAR"); IterTask.AddMsg("Expecto Patronum!"); IterTask = _local1.AddTask("MUESTRA_PATRONUM", "MOVIE_ITEM", "VISIBLE", true, "ESTIRA_VARITA"); IterTask.ItemName = "PATRONUM"; IterTask = _local1.AddTask("ANIMA_PATRONUM", "MOVIE_ITEM", "GOTOANDPLAY", "", "ESTIRA_VARITA"); IterTask.ItemName = "PATRONUM"; IterTask.MovieFrame = "Vuela"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("ANIMA_DEMENTOR", "MOVIE_ITEM", "GOTOANDPLAY", "", "ESTIRA_VARITA"); IterTask.ItemName = "DEMENTOR"; IterTask.MovieFrame = "Patronum"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("OCULTA_DEMENTOR", "MOVIE_ITEM", "VISIBLE", false, "ANIMA_DEMENTOR"); IterTask.ItemName = "DEMENTOR"; IterTask = _local1.AddTask("MUESTRA_SACACORCHOSAUX", "MOVIE_ITEM", "VISIBLE", true, "ANIMA_DEMENTOR"); IterTask.ItemName = "SACACORCHOS_AUX"; IterTask = _local1.AddTask("DERROTO_DEMENTOR", "ACTION", "ADD", "DERROTO_DEMENTOR", "ANIMA_DEMENTOR"); IterTask = _local1.AddTask("OCULTA_PATRONUM", "MOVIE_ITEM", "VISIBLE", false, "ANIMA_PATRONUM"); IterTask.ItemName = "PATRONUM"; IterTask = _local1.AddTask("DUMMY", "DUMMY", "", "", "OCULTA_PATRONUM"); IterTask.AddParentName("OCULTA_DEMENTOR"); IterTask = _local1.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "RIGHT", "DUMMY"); IterTask = _local1.AddTask("MUESTRA_FLECHA", "MOVIE_ITEM", "VISIBLE", true, "DUMMY"); IterTask.ItemName = "FLECHA_DERECHA_DEMENTOR"; IterTask = _local1.AddTask("CANCELA_CHECKZON_DEMENTOR", "ACTION", "ADD", "CANCELA_CHECKZON_DEMENTOR", "DUMMY"); IterTask = _local1.AddTask("FREEMOUSE2", "MOUSE_STATE", "TOTAL", "ENABLED", "DUMMY"); IterTask = _local1.AddTask("COMENTA_PATRONUM", "PANEL", 0, "Mi Patronum sali\u00F3 en forma de \u00E1guila", "FREEMOUSE2"); IterTask.AddMsg("It came out in the shape of an eagle"); IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "GRITA_PATRONUM"); IterTask.AddParentName("ESTIRA_VARITA"); _local2 = AddItem("mcFlechaDerecha", "FLECHA_DERECHA_DEMENTOR", "W", "Avanzar"); _local2.AddMsg("Go forward"); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("CAMINAR", "WALK", "TARGET", "", "BLOCKMOUSE"); IterTask.Position = "RIGHT"; IterTask = _local1.AddTask("AVOLDEMORD", "SCENE", "", "VOLDEMORD_ROOM", "CAMINAR"); IterTask.MovieName = "mcVoldemordRoom.mcGuiaInicio"; IterTask.Transition = true; IterTask.Position = "RIGHT"; IterTask = _local1.AddTask("REWIND", "DELAY", "", 0, "AVOLDEMORD"); IterTask.ItemName = "DELAY_VOLDEMORD_ROOM"; IterTask.FriendToLunch = "DELAY_VOLDEMORD_ROOM_INTRO"; mcDementorRoom.mcFlechaDerecha._visible = false; mcDementorRoom.mcGuiaInicio._visible = false; mcDementorRoom.mcGuiaHechizo._visible = false; mcDementorRoom.mcGuiaDementor._visible = false; mcDementorRoom.mcDangerZone._visible = false; mcDementorRoom.mcPatronum._visible = false; mcDementorRoom.mcSacaCorchosAux._visible = false; mcDementorRoom.mcSacaCorchos._visible = false; var _local3; _local3 = GetSceneByName("DEMENTOR_ROOM").AddSortRule("DEMENTOR"); _local3.AddItem("PATRONUM"); _local3.AddItem("DEMENTOR"); } function SF_Voldemord_roomTasks() { var _local2; var _local1; var _local3; curScene = GetSceneByName("VOLDEMORD_ROOM"); _local2 = AddItem(undefined, "STARTGAME", "S"); _local1 = _local2.AddFriend("STARTGAME", "", ""); IterTask = _local1.AddTask("GANA_VARITA", "INV", "ITEM", "ADD", "START"); IterTask.ItemName = "VARITA"; IterTask = _local1.AddTask("GANA_LEVIOSA", "ACTION", "ADD", "TIENE_LEVIOSA", "GANA_VARITA"); IterTask = _local1.AddTask("GANA_EXPELLIARMUS", "ACTION", "ADD", "TIENE_EXPELLIARMUS", "GANA_VARITA"); IterTask = _local1.AddTask("GANA_ACCIO", "ACTION", "ADD", "TIENE_ACCIO", "GANA_VARITA"); IterTask = _local1.AddTask("GANA_LACARNUM", "ACTION", "ADD", "TIENE_LACARNUM", "GANA_VARITA"); IterTask = _local1.AddTask("GANA_LIBRO", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "LIBRO_ROJO"; IterTask = _local1.AddTask("GANA_CAPA", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "CAPA"; IterTask = _local1.AddTask("GANA_BUDGER", "INV", "ITEM", "ADD", "GANA_VARITA"); IterTask.ItemName = "BLUDGER"; IterTask = _local1.AddTask("USO_TRASLADOR", "ACTION", "ADD", "USO_TRASLADOR", "GANA_VARITA"); IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "GANA_VARITA"); IterTask = _local1.AddTask("DELAY_VOLDEMOR_INICIO", "DELAY", "", 0, "GANA_VARITA"); IterTask.ItemName = "DELAY_VOLDEMORD_ROOM"; IterTask.FriendToLunch = "DELAY_VOLDEMORD_ROOM_INTRO"; _local2 = AddItem(undefined, "DELAY_VOLDEMORD_ROOM", "D"); _local1 = _local2.AddFriend("DELAY_TIMER_PRUEBA", "", ""); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("DECIDE_LEVANTA_VOLDEMORD", "CONDITIONAL", "", "", "BLOCKMOUSE"); IterTask.AddCondition("HAVE@CAYO_VOLDEMORD", "LEVANTA"); IterTask.AddCondition("ELSE", "DELAY_ATACA"); IterTask = _local1.AddTask("LEVANTA", "MOVIE_ITEM", "GOTOANDPLAY", "", ""); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "Levanta"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("DELAY_ATACA", "DELAY", "", "0", ""); IterTask.AddFinishParentName("LEVANTA"); IterTask.ItemName = "DELAY_VOLDEMORD_ROOM"; IterTask.FriendToLunch = "DELAY_MATA_OBAMA"; _local1 = _local2.AddFriend("DELAY_TIMER", "", ""); IterTask = _local1.AddTask("TIMER", "CHECK_EVENT", "TIMER", "", ""); IterTask.WaitFlow = false; IterTask.ItemName = "DELAY_VOLDEMORD_ROOM"; IterTask.FriendToLunch = "DELAY_TIMER_PRUEBA"; IterTask.DisableAction = "TIMER_VOLDEMORD_DISABLE"; IterTask.EnableAction = "TIMER_VOLDEMORD_ENABLE"; IterTask.ReachedAction = "TIMER_VOLDEMORD_OVER"; IterTask.PauseAction = "TIMER_VOLDEMORD_PAUSE"; IterTask.TimerMaxSeconds = 20; IterTask.mcTimer = mcTimer; _local1 = _local2.AddFriend("DELAY_VOLDEMORD_ROOM_INTRO", "", ""); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("DECIDE_ATACA", "CONDITIONAL", "", "", "BLOCKMOUSE"); IterTask.AddCondition("DONTHAVE@TOMO_FELICIS", "DELAY_MATA_OBAMA"); IterTask.AddCondition("ELSE", "DELAY_FALLA"); IterTask = _local1.AddTask("DELAY_FALLA", "DELAY", "", "0", ""); IterTask.ItemName = "DELAY_VOLDEMORD_ROOM"; IterTask.FriendToLunch = "DELAY_FALLA"; IterTask = _local1.AddTask("DELAY_MATA_OBAMA", "DELAY", "", "0", ""); IterTask.ItemName = "DELAY_VOLDEMORD_ROOM"; IterTask.FriendToLunch = "DELAY_MATA_OBAMA"; _local1 = _local2.AddFriend("DELAY_MATA_OBAMA", "", ""); IterTask = _local1.AddTask("ATACA_VOLDEMORD", "DUMMY", "", "", "START"); IterTask = _local1.AddTask("ATACA", "MOVIE_ITEM", "GOTOANDPLAY", "", "ATACA_VOLDEMORD"); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "Ataca"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("MUESTRA_SPELL_VOLDEMORD", "MOVIE_ITEM", "VISIBLE", true, "ATACA"); IterTask.ItemName = "SPELL_VOLDEMORD"; IterTask = _local1.AddTask("ANIMA_SPELL_VOLDEMORD", "MOVIE_ITEM", "GOTOANDPLAY", "", "ATACA"); IterTask.ItemName = "SPELL_VOLDEMORD"; IterTask.MovieFrame = "Vuela"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("GRITA_KEDAVRA", "PANEL", 0, "\u00A1AVADA KEDAVRA!", "ATACA_VOLDEMORD"); IterTask.MovieName = "mcVoldemordRoom.mcGuiaHechizo"; IterTask.CanSpeed = false; IterTask.AddMsg("AVADA KEDAVRA!"); IterTask = _local1.AddTask("ASUSTA_OBAMA", "EXPRESION", "", "Asustado", "ATACA_VOLDEMORD"); IterTask = _local1.AddTask("VOLDEMORD_NORMAL", "MOVIE_ITEM", "GOTOANDSTOP", "", "ANIMA_SPELL_VOLDEMORD"); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "Normal"; IterTask.AnimationMode = "ASYNC"; IterTask = _local1.AddTask("GRITA_NUNCA", "PANEL", 0, "\u00A1NUNCA RECUPERARAS LA MONEDA MAGICA! JA JA JA", "ANIMA_SPELL_VOLDEMORD"); IterTask.MovieName = "mcVoldemordRoom.mcGuiaHechizo"; IterTask.CanSpeed = false; IterTask.AddMsg("YOU'LL NEVER RECOVER THE MAGIC COIN! HA HA HA!"); IterTask = _local1.AddTask("CAE_OBAMA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "ANIMA_SPELL_VOLDEMORD"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "CaeBala"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("PERDISTE_VOLDEMORD", "SCREEN", "", "", "CAE_OBAMA"); IterTask.MovieName = "mcPerdisteAngel"; IterTask = _local1.AddTask("VOLDEMORD_NORMAL", "MOVIE_ITEM", "GOTOANDSTOP", "", "CAE_OBAMA"); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "Normal"; IterTask.AnimationMode = "ASYNC"; IterTask = _local1.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "RIGHT", "CAE_OBAMA"); IterTask = _local1.AddTask("ASUSTA", "EXPRESION", "", "Normal", "CAE_OBAMA"); IterTask = _local1.AddTask("DECIDE_FELICIS", "CONDITIONAL", "", "", "CAE_OBAMA"); IterTask.AddCondition("HAVE@TOMO_FELICIS", "REVERTIR"); IterTask.AddCondition("ELSE", "NADA"); IterTask = _local1.AddTask("REVERTIR", "DUMMY", "", "", ""); IterTask = _local1.AddTask("TOMO_FELICIS", "ACTION", "DROP", "TOMO_FELICIS", "REVERTIR"); IterTask = _local1.AddTask("CAMBIA_FRAME_FELICIS", "ITEM_PROPERTY", "GRAPH_FRAME", "SinCorcho", "REVERTIR"); IterTask.ItemName = "FELICIS"; IterTask = _local1.AddTask("CAMBIA_INFO_FELICIS", "ITEM_PROPERTY", "INFO", "Felix Felicis", "REVERTIR"); IterTask.AddMsg("Felix Felicis"); IterTask.ItemName = "FELICIS"; IterTask = _local1.AddTask("CAYO_VOLDEMORD", "ACTION", "DROP", "CAYO_VOLDEMORD", "CAE_OBAMA"); IterTask = _local1.AddTask("MOVIO_CALAVERA", "ACTION", "DROP", "MOVIO_CALAVERA", "CAE_OBAMA"); IterTask = _local1.AddTask("CALAVERA_NORMAL", "MOVIE_ITEM", "GOTOANDSTOP", "", "CAE_OBAMA"); IterTask.ItemName = "CALAVERA_ROJA"; IterTask.MovieFrame = "Normal"; IterTask.AnimationMode = "ASYNC"; IterTask = _local1.AddTask("MUESTRA_CALAVERA", "MOVIE_ITEM", "VISIBLE", true, "CAE_OBAMA"); IterTask.ItemName = "CALAVERA_ROJA"; IterTask = _local1.AddTask("A_DEMENTOR", "SCENE", "", "DEMENTOR_ROOM", "CAE_OBAMA"); IterTask.MovieName = "mcDementorRoom.mcFlechaDerecha"; IterTask.Transition = false; IterTask.Position = "FRONT"; IterTask = _local1.AddTask("FREEMOUSEY", "MOUSE_STATE", "TOTAL", "ENABLED", "PERDISTE_VOLDEMORD"); _local1 = _local2.AddFriend("DELAY_FALLA", "", ""); IterTask = _local1.AddTask("ATACA_VOLDEMORD", "DUMMY", "", "", "START"); IterTask = _local1.AddTask("ASUSTA_OBAMA2", "EXPRESION", "", "Asustado", "ATACA_VOLDEMORD"); IterTask = _local1.AddTask("GRITA_KEDAVRA", "PANEL", 0, "\u00A1AVADA KEDAVRA!", "ATACA_VOLDEMORD"); IterTask.CanSpeed = false; IterTask.MovieName = "mcVoldemordRoom.mcGuiaHechizo"; IterTask.AddMsg("AVADA KEDAVRA!"); IterTask = _local1.AddTask("DUMMY_DEMORA", "DUMMY", "", "", "ATACA_VOLDEMORD"); IterTask.WaitFramesAtEnd = 15; IterTask = _local1.AddTask("ATACA", "MOVIE_ITEM", "GOTOANDPLAY", "", "DUMMY_DEMORA"); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "Ataca"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("MUESTRA_SPELL_VOLDEMORD", "MOVIE_ITEM", "VISIBLE", true, "ATACA"); IterTask.ItemName = "SPELL_VOLDEMORD"; IterTask = _local1.AddTask("ANIMA_SPELL_VOLDEMORD", "MOVIE_ITEM", "GOTOANDPLAY", "", "ATACA"); IterTask.ItemName = "SPELL_VOLDEMORD"; IterTask.MovieFrame = "VuelaFalla"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("VOLDEMORD_NORMAL", "MOVIE_ITEM", "GOTOANDSTOP", "", "ANIMA_SPELL_VOLDEMORD"); IterTask.AddFinishParentName("GRITA_KEDAVRA"); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "Normal"; IterTask.AnimationMode = "ASYNC"; IterTask = _local1.AddTask("MALEVOLO", "EXPRESION", "", "Malevolo", "VOLDEMORD_NORMAL"); IterTask = _local1.AddTask("FALLE", "PANEL", 0, "\u00A1FALLE!", "VOLDEMORD_NORMAL"); IterTask.CanSpeed = false; IterTask.MovieName = "mcVoldemordRoom.mcGuiaHechizo"; IterTask.AddMsg("I missed!"); IterTask = _local1.AddTask("MALEVOLO", "EXPRESION", "", "Normal", "FALLE"); IterTask = _local1.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", "FALLE"); IterTask = _local1.AddTask("HABILITA_CHECKEVENT", "CHECKTASK_ENABLE", "", "TIMER", "FREEMOUSE"); IterTask.ItemName = "DELAY_VOLDEMORD_ROOM"; IterTask.FriendToLunch = "DELAY_TIMER"; _local1 = _local2.AddFriend("DELAY_OBAMA_GANA", "", ""); IterTask = _local1.AddTask("MUESTRA_MONEDA", "MOVIE", "VISIBLE", true, "START"); IterTask.MovieName = "mcVoldemordRoom.mcMonedaAni"; IterTask = _local1.AddTask("ORIENTA_OBAMA3", "CHAR_DIRECTION", "", "RIGHT", "MUESTRA_MONEDA"); IterTask = _local1.AddTask("COMENTA_PATRONUM", "PANEL", 0, "\u00A1Derrotamos a Voldemord!", "ORIENTA_OBAMA3"); IterTask.AddMsg("We defeated Voldemort!"); IterTask.Expresion = "Alegre"; IterTask.CanSpeed = false; IterTask.Position = "Front"; IterTask = _local1.AddTask("CAMINA_MONEDA", "WALK", "MOVIE", "", "COMENTA_PATRONUM"); IterTask.MovieName = "mcGuiaMoneda"; IterTask.Position = "FRONT"; IterTask = _local1.AddTask("GRACIAS1", "PANEL", 0, "Gracias por ayudarme a recuperar la Aliquantum Prospera, ahora la crisis muggle terminar\u00E1", "CAMINA_MONEDA"); IterTask.AddMsg("Thanks for helping me get the Aliquantum Prospera back, now the muggle crisis should be over"); IterTask.CanSpeed = false; IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local1.AddTask("GRACIAS2", "PANEL", 0, "Si te gust\u00F3 esta aventura, no te pierdas la pr\u00F3xima: PARIS HILTON SCARY GAME", "GRACIAS1"); IterTask.AddMsg("If you liked this adventure, don't miss the next one: PARIS HILTON SCARY GAME"); IterTask.CanSpeed = false; IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local1.AddTask("GRACIAS3", "PANEL", 100, "Visita www.inkagames.com para que te sigas divirtiendo, \u00A1Hasta la pr\u00F3xima!", "GRACIAS2"); IterTask.AddMsg("Visit www.inkagames.com if you wanna keep having fun. See you nex time!"); IterTask.CanSpeed = false; IterTask.Expresion = "Alegre"; IterTask.Position = "Front"; IterTask = _local1.AddTask("ALEGRA_OBAMA", "EXPRESION", "", "Alegre", "GRACIAS3"); IterTask = _local1.AddTask("GANO", "CHANGE_SCENE", "", "Ganaste", "GRACIAS3"); IterTask.MovieFrame = "Ganaste"; _local2 = AddItem(undefined, "InventoryVoldemord_room", "I"); _local2 = AddItem(undefined, "MouseVoldemord_room", "M"); _local2 = AddItem("mcWalkRange", "TerrenoVoldemord_room", "T"); _local1 = _local2.AddFriend("MouseVoldemord_room", "", ""); IterTask = _local1.AddTask("COMENTA_HECHIZO", "PANEL", 0, "No hay tiempo para caminar, \u00A1Haz un hechizo!", "START"); IterTask.AddMsg("There's no time for walking, Cast a Spell!"); IterTask.CancelFlow = true; IterTask.Expresion = "Asustado"; IterTask.Position = "Front"; _local2 = AddItem("mcObama", "OBAMA_VOLDEMORD_ROOM", "W"); _local2.ScanAtStart = false; _local1 = _local2.AddFriend("MOUSE"); curScene.SetCharacter("OBAMA_VOLDEMORD_ROOM", "Normal", "Front"); _local2 = AddItem("mcVaritaAuxiliar", "VARITA_AUXILIAR", "W", "Varita de Voldemord"); _local2.AddMsg("Varita de Voldemord"); _local1 = _local2.AddFriend("MOUSE"); _local1 = _local2.AddFriend("VARITA", "", ""); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local1.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_LACARNUM", "DISABLE_TIMER"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local1.AddTask("COMENTA_NO_AYUDA", "MOUSE_STATE", "TOTAL", "ENABLED", ""); IterTask = _local1.AddTask("COMENTA_NO_AYUDA2", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", "COMENTA_NO_AYUDA"); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask.CancelFlow = true; IterTask = _local1.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", ""); IterTask = _local1.AddTask("DISABLE_TIMER", "ACTION", "ADD", "TIMER_VOLDEMORD_DISABLE", ""); IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", "DISABLE_TIMER"); IterTask = _local1.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "ORIENTA_OBAMA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaAbajo"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 10; IterTask = _local1.AddTask("GRITA_LACARNUM", "PANEL", 0, "\u00A1Lacarnum Inflamarae!", "ORIENTA_OBAMA"); IterTask.AddMsg("Lacarnum Inflamarae!"); IterTask = _local1.AddTask("PRENDE_VARITA", "MOVIE_ITEM", "GOTOANDPLAY", "", "ESTIRA_VARITA"); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "PrendeVarita"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("OCULTA_AUXILIAR_VARITA", "MOVIE_ITEM", "VISIBLE", false, "PRENDE_VARITA"); IterTask.ItemName = "VARITA_AUXILIAR"; IterTask = _local1.AddTask("ESFUMA", "MOVIE_ITEM", "GOTOANDPLAY", "", "PRENDE_VARITA"); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "Esfuma"; IterTask.AnimationMode = "SYNC"; IterTask.WaitFramesAtEnd = 20; IterTask = _local1.AddTask("OBAMA_GANA", "DELAY", "", "0", "ESFUMA"); IterTask.ItemName = "DELAY_VOLDEMORD_ROOM"; IterTask.FriendToLunch = "DELAY_OBAMA_GANA"; _local2 = AddItem("mcCalaveraRoja", "CALAVERA_ROJA", "W", "Calavera Roja"); _local2.AddMsg("Red skeleton"); _local1 = _local2.AddFriend("MOUSE"); IterTask = _local1.AddTask("COMENTA_LANZA", "PANEL", 0, "No pierdas el tiempo y lanza un hechizo", "START"); IterTask.AddMsg("Don't lose time and perform a spell"); IterTask.Expresion = "Asustado"; IterTask.CancelFlow = true; IterTask.Position = "Front"; _local1 = _local2.AddFriend("VARITA", "", ""); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", "START"); IterTask = _local1.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local1.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_LEVIOSA", "ORIENTA_OBAMA"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local1.AddTask("COMENTA_NO_AYUDA", "MOUSE_STATE", "TOTAL", "ENABLED", ""); IterTask = _local1.AddTask("COMENTA_NO_AYUDA2", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", "COMENTA_NO_AYUDA"); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask.CancelFlow = true; IterTask = _local1.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", ""); IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", ""); IterTask = _local1.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "ORIENTA_OBAMA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaArriba"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("GRITA_LEVIOSA", "PANEL", 0, "\u00A1Wingardium Leviosa!", "ORIENTA_OBAMA"); IterTask.AddMsg("Wingardium Leviosa!"); IterTask = _local1.AddTask("ANIMA_CALAVERA", "MOVIE_ITEM", "GOTOANDPLAY", "", "ESTIRA_VARITA"); IterTask.ItemName = "CALAVERA_ROJA"; IterTask.MovieFrame = "Vuela"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("MOVIO_CALAVERA", "ACTION", "ADD", "MOVIO_CALAVERA", "ANIMA_CALAVERA"); IterTask = _local1.AddTask("OCULTA_CALAVERA", "MOVIE_ITEM", "VISIBLE", false, "ANIMA_CALAVERA"); IterTask.ItemName = "CALAVERA_ROJA"; IterTask = _local1.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "RIGHT", "OCULTA_CALAVERA"); IterTask = _local1.AddTask("FREEMOUSEX", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA2"); _local2 = AddItem("mcSpellBall", "SPELL_VOLDEMORD", "W", ""); _local2.AddMsg(""); _local1 = _local2.AddFriend("MOUSE"); _local2 = AddItem("mcSpellBall2", "SPELL_OBAMA", "W", ""); _local2.AddMsg(""); _local1 = _local2.AddFriend("MOUSE"); _local2 = AddItem("mcSpellBall", "SPELL_VOLDEMORD", "W", ""); _local2.AddMsg(""); _local1 = _local2.AddFriend("MOUSE"); _local2 = AddItem("mcVoldemord", "VOLDEMORD", "W", "Voldemord"); _local2.AddMsg("Voldemord"); _local1 = _local2.AddFriend("MOUSE"); _local1 = _local2.AddFriend("VARITA", "", ""); IterTask = _local1.AddTask("DECIDE_HECHIZO", "CONDITIONAL", "", "", "START"); IterTask.AddCondition("HAVE@CAYO_VOLDEMORD", "COMENTA_DARKBOOK"); IterTask.AddCondition("ELSE", "BLOCKMOUSE"); IterTask = _local1.AddTask("COMENTA_DARKBOOK", "PANEL", 0, "Ya est\u00E1 desarmado", ""); IterTask.AddMsg("He's already unarmed"); IterTask = _local1.AddTask("BLOCKMOUSE", "MOUSE_STATE", "TOTAL", "DISABLED", ""); IterTask = _local1.AddTask("MUESTRA_SCREEN", "SCREEN", "", "", "BLOCKMOUSE"); IterTask.MovieName = "mcSpells"; IterTask.HideScene = false; IterTask = _local1.AddTask("ACTIVAR_SPELL", "CONDITIONAL", "", "", ""); IterTask.AddCondition("HAVE@SPELLED_EXPELLIARMUS", "ORIENTA_OBAMA"); IterTask.AddCondition("HAVE@SPELLED_CANCEL", "FREEMOUSE"); IterTask.AddCondition("ELSE", "COMENTA_NO_AYUDA"); IterTask = _local1.AddTask("COMENTA_NO_AYUDA", "MOUSE_STATE", "TOTAL", "ENABLED", ""); IterTask = _local1.AddTask("COMENTA_NO_AYUDA2", "PANEL", 0, "Ese hechizo no me ayudar\u00E1", "COMENTA_NO_AYUDA"); IterTask.AddMsg("That spell won't help"); IterTask.Position = "Front"; IterTask.CancelFlow = true; IterTask = _local1.AddTask("FREEMOUSE", "MOUSE_STATE", "TOTAL", "ENABLED", ""); IterTask = _local1.AddTask("ORIENTA_OBAMA", "CHAR_DIRECTION", "", "RIGHT", ""); IterTask = _local1.AddTask("ESTIRA_VARITA", "MOVIE_ITEM", "GOTOANDPLAYMC", "", "ORIENTA_OBAMA"); IterTask.ItemName = "CURRENT_CHARACTER"; IterTask.MovieFrame = "VaritaMedio"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("GRITA_EXPELIARMUS", "PANEL", 0, "\u00A1Expelliarmus!", "ORIENTA_OBAMA"); IterTask.AddMsg("Expelliarmus!"); IterTask = _local1.AddTask("MUESTRA_SPELL_OBAMA", "MOVIE_ITEM", "VISIBLE", true, "ESTIRA_VARITA"); IterTask.ItemName = "SPELL_OBAMA"; IterTask = _local1.AddTask("DECIDE_FALLA", "CONDITIONAL", "", "", "ESTIRA_VARITA"); IterTask.AddCondition("HAVE@MOVIO_CALAVERA", "DUMMY_ATACA_OBAMA"); IterTask.AddCondition("ELSE", "DUMMY_ATAQUE_DEBIL"); IterTask = _local1.AddTask("DUMMY_ATACA_OBAMA", "DUMMY", "", "", ""); IterTask = _local1.AddTask("SONIDO_SPELL_OBAMA", "SOUND", "ASINCRONO", "", "DUMMY_ATACA_OBAMA"); IterTask.SoundName = "spell_voldemort"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local1.AddTask("ANIMA_SPELL_OBAMA", "MOVIE_ITEM", "GOTOANDPLAY", "", "DUMMY_ATACA_OBAMA"); IterTask.ItemName = "SPELL_OBAMA"; IterTask.MovieFrame = "Vuela"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("VOLDEMORD_CAE", "MOVIE_ITEM", "GOTOANDPLAY", "", "ANIMA_SPELL_OBAMA"); IterTask.ItemName = "VOLDEMORD"; IterTask.MovieFrame = "Cae"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("CAYO_VOLDEMORD", "ACTION", "ADD", "CAYO_VOLDEMORD", "ANIMA_SPELL_OBAMA"); IterTask = _local1.AddTask("MUESTRA_AUXILIAR_VARITA", "MOVIE_ITEM", "VISIBLE", true, "ANIMA_SPELL_OBAMA"); IterTask.ItemName = "VARITA_AUXILIAR"; IterTask = _local1.AddTask("OCULTA_SPELL_OBAMA", "MOVIE_ITEM", "VISIBLE", false, "ANIMA_SPELL_OBAMA"); IterTask.ItemName = "SPELL_OBAMA"; IterTask = _local1.AddTask("ORIENTA_OBAMA3", "CHAR_DIRECTION", "", "RIGHT", "OCULTA_SPELL_OBAMA"); IterTask = _local1.AddTask("FREEMOUSEX", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA3"); IterTask = _local1.AddTask("DUMMY_ATAQUE_DEBIL", "DUMMY", "", "", ""); IterTask = _local1.AddTask("SONIDO_SPELL_OBAMA_FALLA", "SOUND", "ASINCRONO", "", "DUMMY_ATAQUE_DEBIL"); IterTask.SoundName = "pop"; IterTask.SoundTimes = 1; IterTask.NoAudioWaitFrames = 30; IterTask = _local1.AddTask("ANIMA_SPELL_OBAMA_FALLA", "MOVIE_ITEM", "GOTOANDPLAY", "", "DUMMY_ATAQUE_DEBIL"); IterTask.ItemName = "SPELL_OBAMA"; IterTask.MovieFrame = "VueloDebil"; IterTask.AnimationMode = "SYNC"; IterTask = _local1.AddTask("OCULTA_SPELL_OBAMA2", "MOVIE_ITEM", "VISIBLE", false, "ANIMA_SPELL_OBAMA_FALLA"); IterTask.ItemName = "SPELL_OBAMA"; IterTask = _local1.AddTask("ORIENTA_OBAMA2", "CHAR_DIRECTION", "", "RIGHT", "OCULTA_SPELL_OBAMA2"); IterTask.AddFinishParentName("OCULTA_SPELL_OBAMA2"); IterTask = _local1.AddTask("FREEMOUSEY", "MOUSE_STATE", "TOTAL", "ENABLED", "ORIENTA_OBAMA2"); IterTask = _local1.AddTask("LAMENTA_FALLA", "PANEL", 0, "Mi hechizo sali\u00F3 muy d\u00E9bil", "FREEMOUSEY"); IterTask.AddMsg("My spell was too weak"); IterTask.Expresion = "Asustado"; IterTask.CancelFlow = true; mcVoldemordRoom.mcSpellBall._visible = false; mcVoldemordRoom.mcSpellBall2._visible = false; mcVoldemordRoom.mcGuiaInicio._visible = false; mcVoldemordRoom.mcGuiaHechizo._visible = false; mcVoldemordRoom.mcGuiaMoneda._visible = false; mcVoldemordRoom.mcVaritaAuxiliar._visible = false; var _local4; InitDialogoVoldemord(); } function InitDialogoVoldemord() { Block = new objBlock("DIALOGO_VOLDEMORD1_1", "VOLDEMORD", "DIALOGO_VOLDEMORD1_2", "B", "Amargo", "Amargo"); Block.Message = "\u00A1As\u00ED que me encontraste finalmente Obama! .... \u00A1Peor para t\u00ED porque esta cueva ser\u00E1 tu tumba!"; Block.AddMsg("So you finally found me Obama!... Now this cave will be your grave!"); BlockAdmin.AddBlock(Block); Block = new objBlock("DIALOGO_VOLDEMORD1_2", "MAIN", "DIALOGO_VOLDEMORD1_3", "B", "Amargo", "Amargo"); Block.Message = "\u00A1Esto est\u00E1 por verse Voldemord!"; Block.AddMsg("We'll see that Voldemort!"); Block.ExitTalk = true; BlockAdmin.AddBlock(Block); }
Instance of Symbol 54 MovieClip "mcMain" in Frame 7
onClipEvent (keyDown) { if (Key.getCode() == 38) { with (_root.Inventario) { DisplayItems(0, GetFirstItemPrevPage()); } } if (Key.getCode() == 40) { with (_root.Inventario) { DisplayItems(0, GetFirstItemNextPage()); } } }
Frame 8
trace("Entra a Peru.com"); stop();
Frame 9
stop(); mcAniSello.gotoAndStop(3);
Frame 10
function gtm4() { var _local1; _local1 = tm2.toString(); if (LanzaIngles) { getURL (GameServer + "obama_pigsaw_game.html", "_parent"); } if (LanzaEspanol) { getURL (GameServer + "obama_juego_pigsaw.html", "_parent"); } } mcAlien.gotoAndStop("Normal"); var LanzaIngles = false; var LanzaEspanol = false; if (HasSession) { gotoAndStop ("BeginGame2"); } else { stop(); var SonidoIntro; txtLanguage = "FlashVars=" + LanguageFromPage; mcGameTitle.gotoAndStop(Language); var tm2 = new XML(); tm2.ignoreWhite = true; tm2.onLoad = gtm4; } if ((!SonidoIntro) || (SonidoIntro == undefined)) { SonidoIntro = true; SonidoActual2 = new Sound(); stopAllSounds(); SonidoActual2.stop(); SonidoActual2.attachSound("fondo_intro"); SonidoActual2.start(0, 9999); }
Instance of Symbol 36 MovieClip "mcGameTitle" in Frame 10
onClipEvent (enterFrame) { if (_root.c < 50) { _root.c++; } else { _root.nextScene(); } }
Frame 11
function InitIdioma() { btnJoinFacebookSpanish._visible = false; btnJoinFacebookEnglish._visible = false; eval ("btnJoinFacebook" + Language)._visible = true; btnMoreGamesSpanish._visible = false; btnMoreGamesEnglish._visible = false; eval ("btnMoreGames" + Language)._visible = true; btnRankingSpanish._visible = false; btnRankingEnglish._visible = false; eval ("btnRanking" + Language)._visible = true; btnCreditosSpanish._visible = false; btnCreditosEnglish._visible = false; eval ("btnCreditos" + Language)._visible = true; mcGameTitle.gotoAndStop(Language); mcGameDescription.gotoAndStop(Language); btnSiguienteSpanish._visible = false; btnSiguienteEnglish._visible = false; eval ("btnSiguiente" + Language)._visible = true; btnVersionSpanish._visible = false; btnVersionEnglish._visible = false; if (Language == "Spanish") { btnVersionSpanish._visible = false; btnVersionEnglish._visible = true; } else { btnVersionSpanish._visible = true; btnVersionEnglish._visible = false; } } mcAlien.gotoAndStop("Normal"); var tm7 = new XML(); tm7.ignoreWhite = true; mcAlien.gotoAndStop(1); stop(); mcGameTitle.gotoAndStop(Language); if ((!SonidoIntro) || (SonidoIntro == undefined)) { SonidoIntro = true; SonidoActual2 = new Sound(); stopAllSounds(); SonidoActual2.stop(); SonidoActual2.attachSound("fondo_intro"); SonidoActual2.start(0, 9999); } InitIdioma();
Frame 12
stop(); btnRegresarSpanish._visible = false; btnRegresarEnglish._visible = false; eval ("btnRegresar" + Language)._visible = true; mcInkaGames.gotoAndStop(Language); if ((!SonidoIntro) || (SonidoIntro == undefined)) { SonidoIntro = true; SonidoActual2 = new Sound(); stopAllSounds(); SonidoActual2.stop(); SonidoActual2.attachSound("fondo_intro"); SonidoActual2.start(0, 9999); }
Frame 13
btnSiguienteSpanish._visible = false; btnSiguienteEnglish._visible = false; mcInstrucciones.gotoAndStop(Language); eval ("btnSiguiente" + Language)._visible = true; if ((!SonidoIntro) || (SonidoIntro == undefined)) { SonidoIntro = true; SonidoActual2 = new Sound(); stopAllSounds(); SonidoActual2.stop(); SonidoActual2.attachSound("fondo_intro"); SonidoActual2.start(0, 9999); }
Frame 14
gotoAndPlay (1);
Frame 15
txtNombre._accProps = new Object(); txtNombre._accProps.name = "."; txtMensaje._accProps = new Object(); txtMensaje._accProps.name = "."; txtPatas._accProps = new Object(); txtPatas._accProps.name = "."; txtMail._accProps = new Object(); txtMail._accProps.name = "."; mcGrabarLabel._accProps = new Object(); mcGrabarLabel._accProps.silent = true; btnGrabarSpanish._accProps = new Object(); btnGrabarSpanish._accProps.silent = true; btnGrabarEnglish._accProps = new Object(); btnGrabarEnglish._accProps.silent = true; txtResultado._accProps = new Object(); txtResultado._accProps.silent = true; function ltrim(matter) { if ((matter.length > 1) || (((matter.length == 1) && (matter.charCodeAt(0) > 32)) && (matter.charCodeAt(0) < 255))) { i = 0; while ((i < matter.length) && ((matter.charCodeAt(i) <= 32) || (matter.charCodeAt(i) >= 255))) { i++; } matter = matter.substring(i); } else { matter = ""; } return(matter); } function rtrim(matter) { if ((matter.length > 1) || (((matter.length == 1) && (matter.charCodeAt(0) > 32)) && (matter.charCodeAt(0) < 255))) { i = matter.length - 1; while ((i >= 0) && ((matter.charCodeAt(i) <= 32) || (matter.charCodeAt(i) >= 255))) { i--; } matter = matter.substring(0, i + 1); } else { matter = ""; } return(matter); } function trim(matter) { return(ltrim(rtrim(matter))); } function HasLongWords(s, nChars) { var _local1; var _local2 = ""; var _local3 = 0; _local1 = 0; while (_local1 <= (s.length - 1)) { _local2 = s.substring(_local1, _local1 + 1); if ((_local2 == " ") || (_local2 == String.fromCharCode(13))) { _local3 = 0; } else { _local3++; if (_local3 > nChars) { return(true); } } _local1++; } return(false); } function CheckLongWords(s, limit) { var _local2; var _local11 = 0; var _local4 = ""; var _local3 = ""; var _local5 = 0; var _local6 = 0; var _local7 = 0; var _local1 = ""; _local2 = 0; while (_local2 <= (s.length - 1)) { _local4 = s.substring(_local2, _local2 + 1); if ((_local4 == " ") || (_local4 == String.fromCharCode(13))) { if (_local1 != "") { _local3 = _local3 + _local1; } if (_local4 == String.fromCharCode(13)) { _local6 = _local2; } _local3 = _local3 + _local4; _local5 = 0; _local1 = ""; } else { if (_local5 == 0) { _local7 = _local2; } _local5++; _local1 = _local1 + _local4; trace("posInicio=" + _local7); trace("posEnter=" + _local6); trace("(posInicio-posEnter)=" + (_local7 - _local6)); trace("cc=" + _local5); trace("LasWord=" + _local1); if (((_local7 - _local6) + _local5) > limit) { _local5 = 0; trace("suma ENTER EN IF "); _local3 = (_local3 + _local1) + String.fromCharCode(13); _local1 = ""; _local6 = _local2; } } _local2++; } var _local10; if (_local1 != "") { if (_local1.length > 20) { _local10 = _local3.substring(_local3.length - 1, _local3.length); trace(("XXXXXXXX" + _local10) + "YYYYYYYYYYY"); if (_local10 != String.fromCharCode(13)) { _local3 = (_local3 + String.fromCharCode(13)) + _local1; } else { _local3 = _local3 + _local1; } } else { _local3 = _local3 + _local1; } } return(_local3); } mcGrabarLabel.gotoAndStop(Language); btnGrabarSpanish._visible = false; btnGrabarEnglish._visible = false; eval ("btnGrabar" + Language)._visible = true; stop(); movEligeEquipo._visible = false; trace("Puntaje=" + Puntaje); function ValidMail(s) { var _local7; var _local4; var _local2; var _local1; var _local9; var _local3; var _local5; var _local8; _local7 = "@hotmail.com@hotmail.es@gmail.com@hotmail.co.uk@yahoo.com@yahoo.es@live.com@googlemail.com@msn.com@wanado.es@yahoo.in@live.cl@yahoo.es@latinmail.com@live.co.uk@msn.co.uk@rocketmail.com@windowslive.com@speedy.com@"; _local1 = s.indexOf("@"); if (_local1 == -1) { trace("No tiene @"); return(false); } _local4 = s.substring(0, _local1); _local2 = s.substring(_local1 + 1); _local1 = _local2.indexOf("."); if (_local1 == -1) { trace("no tiene punto en dominio"); return(false); } _local1 = _local2.indexOf("@"); if (_local1 >= 0) { trace("tiene otro @ en dominio"); return(false); } _local3 = _local4.length; _local5 = _local2.length; if (_local3 <= 3) { trace("ha puesto un mail muy corto"); return(false); } if (RepeatCharTest(_local4, _local3, 3)) { trace("Prefix 3 consonantes juntas o 3 vocales repetidas... se descarta"); return(false); } if (RepeatCharTest(_local2, _local5, 3)) { trace("Dominio 3 consonantes juntas o 3 vocales repetidas... se descarta"); return(false); } if (!ValidPrefixCharacters(_local4, _local3)) { trace("caracteres invalidos en el correo"); return(false); } if (!ValidDomainCharacters(_local2, _local5)) { trace("caracteres invalidos en el correo"); return(false); } return(true); } function RepeatCharTest(prefix, prefixlen, n) { var _local2 = 0; var _local3 = 0; var _local4; var _local1; var _local5 = 0; _local4 = 0; while (_local4 <= (prefixlen - 1)) { _local1 = prefix.charCodeAt(_local4); if ((_local1 >= 97) && (_local1 <= 122)) { if (((((_local1 != 97) && (_local1 != 101)) && (_local1 != 105)) && (_local1 != 111)) && (_local1 != 117)) { _local3++; _local2 = 0; } else { if (_local5 == _local1) { _local2++; } else { _local2 = 0; } _local5 = _local1; _local3 = 0; } if (_local3 >= n) { return(true); } if (_local2 >= n) { return(true); } } else { _local3 = 0; _local2 = 0; } _local4++; } return(false); } function ValidPrefixCharacters(prefix, prefixlen, n) { var _local2; var _local1; var _local3; _local3 = prefix.indexOf(".."); if (_local3 != -1) { return(false); } _local3 = prefix.indexOf("--"); if (_local3 != -1) { return(false); } _local3 = prefix.indexOf("___"); if (_local3 != -1) { return(false); } _local3 = prefix.indexOf(".-"); if (_local3 != -1) { return(false); } _local3 = prefix.indexOf("-."); if (_local3 != -1) { return(false); } _local3 = prefix.indexOf("._"); if (_local3 != -1) { return(false); } _local3 = prefix.indexOf("_."); if (_local3 != -1) { return(false); } _local3 = prefix.indexOf("-_"); if (_local3 != -1) { return(false); } _local3 = prefix.indexOf("_-"); if (_local3 != -1) { return(false); } _local2 = 0; while (_local2 <= (prefixlen - 1)) { _local1 = prefix.charCodeAt(_local2); if (!((_local1 >= 97) && (_local1 <= 122))) { if (_local2 == 0) { trace("Primer caracter alfa"); return(false); } if (!((_local1 >= 48) && (_local1 <= 57))) { if (!(((_local1 == 95) || (_local1 == 45)) || (_local1 == 46))) { return(false); } if ((_local2 == 0) || (_local2 == (prefixlen - 1))) { trace("Primer o Ultimo caracter alfa invalido"); return(false); } } } _local2++; } return(true); } function ValidDomainCharacters(prefix, prefixlen, n) { var _local2; var _local1; var _local5; _local5 = prefix.indexOf(".."); if (_local5 != -1) { return(false); } _local5 = prefix.indexOf("---"); if (_local5 != -1) { return(false); } _local5 = prefix.indexOf(".-"); if (_local5 != -1) { return(false); } _local5 = prefix.indexOf("-."); if (_local5 != -1) { return(false); } _local2 = 0; while (_local2 <= (prefixlen - 1)) { _local1 = prefix.charCodeAt(_local2); trace((("CharCode(" + (_local2 + 1)) + ")=") + _local1); if (!((_local1 >= 97) && (_local1 <= 122))) { if (_local2 == 0) { trace("Primer caracter alfa"); return(false); } if (!((_local1 >= 48) && (_local1 <= 57))) { if (!((_local1 == 45) || (_local1 == 46))) { return(false); } if ((_local2 == 0) || (_local2 == (prefixlen - 1))) { trace("Primer o Ultimo caracter alfa invalido"); return(false); } } } _local2++; } return(true); } function GetNewMailPatas(s) { var _local1; var _local2; var _local3 = ""; if (s.indexOf(";") != -1) { _local2 = s.split(";"); } else if (s.indexOf(",") != -1) { _local2 = s.split(","); } if (_local2 != undefined) { _local1 = 0; while (_local1 <= (_local2.length - 1)) { if (ValidMail(_local2[_local1])) { _local3 = (_local3 + _local2[_local1]) + ","; } _local1++; } if (_local3 != "") { _local3 = _local3.substring(0, _local3.length - 1); } } else if (ValidMail(s)) { _local3 = _local3 + s; } return(_local3); } function getDNICode(dni) { var _local1; var _local3; var _local2; var _local5; _local3 = 1; _local2 = 0; _local1 = 0; while (_local1 <= (dni.length - 1)) { _local2 = _local2 + (_local3 * dni.substr(_local1, 1)); _local3 = _local3 * -1; _local1++; } if (_local2 < 0) { _local5 = "0"; _local2 = _local2 * -1; } else { _local5 = "1"; } if (_local2 < 10) { _local5 = (_local5 + "0") + _local2; } else { _local5 = _local5 + _local2; } return(_local5); } function SaveData() { var _local5; var _local2; txtNombre.text = trim(txtNombre.text); txtMensaje.text = trim(txtMensaje.text); if (txtNombre.length < 2) { txtResultado.text = "El Nombre debe tener m\u00E1s de dos caracteres"; txtNombre.setFocus; Procesando = false; return(undefined); } CodigoEquipo = 1; if (txtMensaje.length < 2) { txtResultado.text = "El Mensaje debe tener m\u00E1s de dos caracteres"; txtMensaje.setFocus; Procesando = false; return(undefined); } _local2 = _root.gurl + "juego_obama_potter.php?action=1&"; sms = txtNombre.text; sms2 = ""; if (HasLongWords(sms, 15)) { sms2 = CheckLongWords(sms, 40); } else { sms2 = sms; } _local2 = ((_local2 + "nombre=") + escape(sms2)) + "&"; _local2 = ((_local2 + "puntaje=") + escape(Puntaje)) + "&"; _local2 = _local2 + "version=1&"; if (FromPage) { _local2 = _local2 + "inkagames=1&"; } else { _local2 = _local2 + "inkagames=0&"; } _local2 = ((_local2 + "DNI=") + escape(getDNICode(txtDNI.text) + txtDNI.text)) + "&"; sms = txtMensaje.text; sms2 = ""; if (HasLongWords(sms, 15)) { sms2 = CheckLongWords(sms, 80); } else { sms2 = sms; } _local2 = ((_local2 + "mensaje=") + escape(sms2)) + "&"; _local2 = ((_local2 + "equipo=") + escape(CodigoEquipo)) + "&"; _local2 = ((_local2 + "hincha_region=") + escape(pais)) + "&"; var _local4; var _local3; _local4 = "" + txtMail.text; _local3 = _local4.toLowerCase(); _local2 = ((_local2 + "mail=") + escape(_local3)) + "&"; _local4 = "" + txtPatas.text; _local3 = _local4.toLowerCase(); if (_local3 != "") { _local2 = ((_local2 + "patas=") + escape(_local3)) + "&"; } _local2 = ((_local2 + "lang=") + Language) + "&"; _local2 = ((_local2 + "=") + Language) + "&"; _local2 = _local2 + "velocidad=1&"; _local2 = _local2 + "nivel=1&"; hh = RemoveHTTP2(hh) + ""; _local2 = (_local2 + "hh=") + escape(hh); txtResultado.text = "Un momento por favor estamos grabando los datos..."; trace("urltext=" + _local2); DataGraba.load(_local2); txtURLSave = _local2; } txtResultado.text = "Puntaje = " + Puntaje; var Pais = 0; var level = ""; var sms = ""; var sms2 = ""; gurl = GameServer; txtNombre.html = false; txtNombre.editable = true; txtNombre.restrict = "^'\""; txtNombre.password = false; txtNombre.maxChars = 60; txtNombre.tabIndex = 1; txtMensaje.html = false; txtMensaje.editable = true; txtMensaje.maxChars = 100; txtMensaje.multiline = true; txtMensaje.tabIndex = 2; txtMail.tabIndex = 3; txtPatas.tabIndex = 4; btnGrabarEnglish.tabIndex = 5; btnGrabarSpanish.tabIndex = 6; function OfertaLoaded() { trace(("xxx" + Datos.toString()) + "xxx"); txtOferta = Datos.toString().toUpperCase(); } function Graba() { _root.codigo = DataGraba.toString(); gotoAndStop ("GraboDatos"); } stop(); var Procesando = false; var Datos = new XML(); var DataGraba = new XML(); Datos.ignoreWhite = true; DataGraba.ignoreWhite = true; Datos.onLoad = OfertaLoaded; DataGraba.onLoad = Graba; if (Puntaje == 0) { loadMovieNum (_url, 0); } stopAllSounds(); var FirstTime = false; var xxxx = new Sound(); xxxx.attachSound("Gana2"); xxxx.start(0, 9999);
Frame 16
btnMoreGamesSpanish._visible = false; btnMoreGamesEnglish._visible = false; eval ("btnMoreGames" + Language)._visible = true; btnRankingSpanish._visible = false; btnRankingEnglish._visible = false; eval ("btnRanking" + Language)._visible = true; mcRankingButtons.gotoAndStop(Language); mcFacebookLink.gotoAndStop(Language); mcGoogleFacebook.gotoAndStop(Language); mcFloro.gotoAndStop(Language); mcMoreFunnyGames.gotoAndStop(Language); stop();
Symbol 25 Button
on (release) { this.Task.LunchTask("CODIGO_INCORRECTO"); this.Task.Finish(); }
Symbol 27 Button
on (release) { Girar("D"); }
Symbol 28 Button
on (release) { Girar("I"); }
Symbol 33 MovieClip [movClaveCaja] Frame 1
function EnterFrame() { if (State == 0) { return(0); } mcCaja.mcPerilla._rotation = mcCaja.mcPerilla._rotation + DeltaRot; curDelta++; if (curDelta == MaxDelta) { Index++; if (!(Fallo || (Index > (nCodigos - 1)))) { if (Codigos[Index] != CurTipo) { Fallo = true; trace("Perdio"); } else if (Index == (nCodigos - 1)) { this.Task.LunchTask("ABRIR_CAJA"); this.Task.Finish(); } } State = 0; curDelta = 0; } } function Girar(Tipo) { if (State == 1) { return(0); } if (Tipo == "D") { DeltaRot = DeltaRotation; } else { DeltaRot = -DeltaRotation; } if (State == 1) { return(0); } State = 1; CurTipo = Tipo; } mcCaja.gotoAndStop("Cerrada"); var DeltaRotation = 5; var DeltaRot = 0; var MaxDelta = 4; var curDelta = 0; var State = 0; var Fallo = false; var Codigos = new Array(); var Index = -1; var CurTipo = ""; Codigos[0] = "I"; Codigos[1] = "I"; Codigos[2] = "D"; Codigos[3] = "D"; Codigos[4] = "D"; Codigos[5] = "I"; Codigos[6] = "I"; Codigos[7] = "D"; nCodigos = 8;
Instance of Symbol 19 MovieClip "mcCaja" in Symbol 33 MovieClip [movClaveCaja] Frame 1
onClipEvent (enterFrame) { _parent.EnterFrame(); }
Symbol 39 Button
on (release) { if (Language == "English") { getURL ("http://www.inkagames.com", "_blank"); } else { getURL ("http://www.inkagames.com", "_blank"); } }
Symbol 46 MovieClip Frame 1
function CheckPercentage() { var _local2; _local2 = _root.getBytesLoaded() / _root.getBytesTotal(); _local2 = Math.ceil(_local2 * 100); if ((_local2 >= 50) && (_root.mcFacebookBanner._currentframe == 1)) { _root.mcFacebookBanner.gotoAndStop(2); } txtPorcentaje = String(_local2) + " %"; } function CheckLoader(LoadingFrame, BeginFrame) { if (((_root.getBytesLoaded() == _root.getBytesTotal()) && (_root.TrajoIdioma)) && (_root.TrajoTipConfig)) { _root.gotoAndPlay(BeginFrame); } else { _root.gotoAndPlay(LoadingFrame); } }
Symbol 52 Button
on (release) { if (Language == "English") { getURL ("http://www.inkagames.com", "_blank"); } else { getURL ("http://www.inkagames.com", "_blank"); } }
Symbol 82 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 28
stop(); this.Task.Finish();
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 9
stop(); this.Task.Finish();
Symbol 147 MovieClip Frame 20
stop(); this.Task.Finish();
Symbol 147 MovieClip Frame 50
stop(); this.Task.Finish();
Symbol 147 MovieClip Frame 51
_parent.mcSombra._visible = false;
Symbol 147 MovieClip Frame 80
stop(); this.Task.Finish();
Symbol 147 MovieClip Frame 90
stop(); this.Task.Finish();
Symbol 151 MovieClip Frame 22
stop(); this.Task.Finish();
Symbol 151 MovieClip Frame 66
stop(); this.Task.Finish();
Symbol 151 MovieClip Frame 87
stop(); this.Task.Finish();
Symbol 151 MovieClip Frame 108
stop(); this.Task.Finish();
Symbol 151 MovieClip Frame 136
stop(); this.Task.Finish();
Instance of Symbol 170 MovieClip "mcGraph" in Symbol 353 MovieClip Frame 1
onClipEvent (load) { this._alpha = 0; }
Symbol 353 MovieClip Frame 17
gotoAndPlay ("Walk_Front");
Symbol 353 MovieClip Frame 35
gotoAndPlay ("Walk_Lateral");
Symbol 353 MovieClip Frame 55
gotoAndPlay ("Walk_Back");
Symbol 353 MovieClip Frame 291
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 304
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 321
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 335
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 347
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 366
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 383
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 400
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 417
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 453
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 489
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 492
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 495
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 506
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 535
stop(); this.Task.Finish();
Symbol 353 MovieClip Frame 564
stop(); this.Task.Finish();
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 19
stop(); this.Task.Finish();
Symbol 397 MovieClip Frame 37
stop(); this.Task.Finish();
Symbol 397 MovieClip Frame 58
_parent.mcSombra._visible = false;
Symbol 397 MovieClip Frame 109
stop(); this.Task.Finish();
Symbol 420 MovieClip Frame 73
stop(); this.Task.Finish();
Symbol 455 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 38
stop(); this.Task.Finish();
Symbol 455 MovieClip Frame 64
stop(); this.Task.Finish();
Symbol 464 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 55
stop(); this.Task.Finish();
Symbol 464 MovieClip Frame 90
stop(); this.Task.Finish();
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 26
stop(); this.Task.Finish();
Symbol 502 MovieClip Frame 69
stop(); this.Task.Finish();
Symbol 520 MovieClip Frame 2
stop();
Symbol 520 MovieClip Frame 13
gotoAndPlay (2);
Symbol 548 MovieClip Frame 14
_parent.mcSombra._visible = false;
Symbol 548 MovieClip Frame 42
stop(); this.Task.Finish();
Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 17
stop(); this.Task.Finish();
Symbol 646 MovieClip Frame 107
stop(); this.Task.Finish();
Symbol 652 MovieClip Frame 31
stop(); this.Task.Finish();
Symbol 657 MovieClip Frame 1
Symbol 665 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 6
stop(); this.Task.Finish();
Symbol 711 MovieClip Frame 1
stop();
Symbol 711 MovieClip Frame 12
this.Task.Finish(); stop();
Symbol 711 MovieClip Frame 24
this.Task.Finish(); stop();
Symbol 711 MovieClip Frame 36
this.Task.Finish(); stop();
Symbol 722 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 12
this.Task.Finish(); stop();
Symbol 725 MovieClip Frame 24
this.Task.Finish(); stop();
Symbol 725 MovieClip Frame 35
this.Task.Finish(); stop();
Symbol 725 MovieClip Frame 46
this.Task.Finish(); stop();
Symbol 761 MovieClip Frame 61
stop();
Symbol 761 MovieClip Frame 116
stop();
Symbol 770 MovieClip [mcEscoba] Frame 79
stop(); this.Task.Finish();
Symbol 796 MovieClip [mcBludger] Frame 41
stop(); this.Task.Finish();
Symbol 838 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 10
stop(); this.Task.Finish();
Symbol 862 MovieClip Frame 1
stop();
Symbol 933 Button
on (release) { Spell("Accio"); } on (rollOver) { mcSpellAccio.gotoAndStop(3); } on (rollOut) { mcSpellAccio.gotoAndStop(2); }
Symbol 934 Button
on (release) { Spell("Alohomora"); } on (rollOver) { mcSpellAlohomora.gotoAndStop(3); } on (rollOut) { mcSpellAlohomora.gotoAndStop(2); }
Symbol 935 Button
on (release) { Spell("Revelum"); } on (rollOver) { mcSpellRevelum.gotoAndStop(3); } on (rollOut) { mcSpellRevelum.gotoAndStop(2); }
Symbol 936 Button
on (release) { Spell("Cancel"); } on (rollOver) { mcCancelSpell.gotoAndStop(2); } on (rollOut) { mcCancelSpell.gotoAndStop(1); }
Symbol 937 Button
on (release) { Spell("Expelliarmus"); } on (rollOver) { mcSpellExpelliarmus.gotoAndStop(3); } on (rollOut) { mcSpellExpelliarmus.gotoAndStop(2); }
Symbol 938 Button
on (release) { Spell("Lacarnum"); } on (rollOver) { mcSpellLacarnum.gotoAndStop(3); } on (rollOut) { mcSpellLacarnum.gotoAndStop(2); }
Symbol 939 Button
on (release) { Spell("Leviosa"); } on (rollOver) { mcSpellLeviosa.gotoAndStop(3); } on (rollOut) { mcSpellLeviosa.gotoAndStop(2); }
Symbol 940 Button
on (release) { Spell("Patronum"); } on (rollOver) { mcSpellPatronum.gotoAndStop(3); } on (rollOut) { mcSpellPatronum.gotoAndStop(2); }
Symbol 941 Button
on (release) { Spell("Animagum"); } on (rollOver) { mcSpellAnimagum.gotoAndStop(3); } on (rollOut) { mcSpellAnimagum.gotoAndStop(2); }
Symbol 942 Button
on (release) { Spell("Levicorpus"); } on (rollOver) { mcSpellLevicorpus.gotoAndStop(3); } on (rollOut) { mcSpellLevicorpus.gotoAndStop(2); }
Symbol 943 Button
on (release) { Spell("Discendio"); } on (rollOver) { mcSpellDiscendio.gotoAndStop(3); } on (rollOut) { mcSpellDiscendio.gotoAndStop(2); }
Symbol 944 Button
on (release) { Spell("Relashio"); } on (rollOver) { mcSpellRelashio.gotoAndStop(3); } on (rollOut) { mcSpellRelashio.gotoAndStop(2); }
Symbol 945 Button
on (release) { Spell("Reparo"); } on (rollOver) { mcSpellReparo.gotoAndStop(3); } on (rollOut) { mcSpellReparo.gotoAndStop(2); }
Symbol 946 MovieClip Frame 1
function RemoveSpelledActions() { var _local2; i = 1; while (i <= nSpells) { _local2 = Spells[i].toUpperCase(); ActionName = "SPELLED_" + _local2; _root.DropAction(ActionName); i++; } } function Spell(s) { var _local3; _local3 = "SPELLED_" + s.toUpperCase(); _root.AddAction(_local3); this.Task.LunchTask("ACTIVAR_SPELL"); this.Task.Finish(); } function Init() { var i; var Spell; var ActionName; mcCancelSpell.gotoAndStop(1); i = 1; while (i <= nSpells) { Spell = Spells[i].toUpperCase(); ActionName = "TIENE_" + Spell; if (_root.HaveAction(ActionName)) { eval ("btnSpell" + Spells[i])._visible = true; eval ("mcSpell" + Spells[i]).gotoAndStop(2); } else { eval ("btnSpell" + Spells[i])._visible = false; eval ("mcSpell" + Spells[i]).gotoAndStop(1); } ActionName = "SPELLED_" + Spell; _root.DropAction(ActionName); i++; } } var Spells = new Array(); var nSpells; Spells[1] = "Cancel"; Spells[2] = "Accio"; Spells[3] = "Alohomora"; Spells[4] = "Revelum"; Spells[5] = "Expelliarmus"; Spells[6] = "Lacarnum"; Spells[7] = "Leviosa"; Spells[8] = "Patronum"; Spells[9] = "Animagum"; Spells[10] = "Levicorpus"; Spells[11] = "Discendio"; Spells[12] = "Relashio"; Spells[13] = "Reparo"; Spells[14] = "Cancel2"; _root.AddAction("TIENE_CANCEL2"); if (_root.Language == "English") { mcCancelSpell2._visible = false; mcCancelSpell._visible = true; } else { mcCancelSpell2._visible = true; mcCancelSpell._visible = false; } nSpells = Spells.length - 1; mcChooseSpell.gotoAndStop(_root.Language);
Instance of Symbol 951 MovieClip "mcShowBox" in Symbol 955 MovieClip Frame 1
/* no clip actions */
Symbol 977 Button
on (release) { if (_root.DialogTask != undefined) { _root.BlockAdmin.CancelDialog(); _root.PerformDialog(); } }
Symbol 987 Button
on (release) { _root.CancelDialog(); }
Symbol 992 Button
on (release) { _root.CancelDialog(); }
Symbol 998 Button
on (release) { var rect; var rect2; var x; var y; var mcItem; var mcPersonaje; var Sentido; var XZoneLeft; var XZoneCenter; var XZoneRight; var YZoneUp; var YZoneCenter; var YZoneDown; _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); _root.curScene.Personaje.Expresion = "Normal"; if (this.Task.ParentFriend.TargetItem.mc.mcBase != undefined) { mcItem = this.Task.ParentFriend.TargetItem.mc.mcBase; } else { mcItem = this.Task.ParentFriend.TargetItem.mc.mcGraph; } mcPersonaje = _root.curScene.Personaje; rect = mcItem.getRect(_root); rect2 = mcPersonaje.mcBase.getRect(_root); x = (rect2.xMin + rect2.xMax) / 2; y = rect2.yMax - ((rect2.yMax - rect2.yMin) / 10); XZoneLeft = x < rect.xMin; XZoneCenter = (x >= rect.xMin) && (x <= rect.xMax); XZoneRight = x > rect.xMax; YZoneUp = y < rect.yMin; YZoneCenter = (y >= rect.yMin) && (y <= rect.yMax); YZoneDown = y > rect.yMax; if (XZoneCenter && (YZoneCenter)) { Sentido = "BACK"; } if (XZoneLeft && (YZoneCenter)) { Sentido = "RIGHT"; } if (XZoneRight && (YZoneCenter)) { Sentido = "LEFT"; } if (YZoneUp && (XZoneCenter)) { Sentido = "FRONT"; } if (YZoneDown && (XZoneCenter)) { Sentido = "BACK"; } if (YZoneUp && (XZoneLeft)) { DeltaX = Math.abs(x - rect.xMin); DeltaY = Math.abs(y - rect.yMin); if (DeltaX > DeltaY) { Sentido = "RIGHT"; } else { Sentido = "FRONT"; } } if (YZoneUp && (XZoneRight)) { DeltaX = Math.abs(x - rect.xMax); DeltaY = Math.abs(y - rect.yMin); if (DeltaX > DeltaY) { Sentido = "LEFT"; } else { Sentido = "FRONT"; } } if (YZoneDown && (XZoneLeft)) { DeltaX = Math.abs(x - rect.xMin); DeltaY = Math.abs(y - rect.yMax); if (DeltaX > DeltaY) { Sentido = "RIGHT"; } else { Sentido = "BACK"; } } if (YZoneDown && (XZoneRight)) { DeltaX = Math.abs(x - rect.xMax); DeltaY = Math.abs(y - rect.yMax); if (DeltaX > DeltaY) { Sentido = "LEFT"; } else { Sentido = "BACK"; } } if (!_root.curScene.CurCharacterItem.Frozen) { if (Sentido == "BACK") { mcPersonaje.gotoAndStop("Stand_Back"); } if (Sentido == "FRONT") { mcPersonaje.gotoAndStop("Stand_Front"); } if (Sentido == "RIGHT") { mcPersonaje.gotoAndStop("Stand_Lateral"); mcPersonaje._xscale = -Math.abs(mcPersonaje._xscale); } if (Sentido == "LEFT") { mcPersonaje.gotoAndStop("Stand_Lateral"); mcPersonaje._xscale = Math.abs(mcPersonaje._xscale); } } mcPersonaje.mcCabeza.gotoAndStop("Normal"); this.Task.LunchTask(this.Task.EyeTask); this.Task.Finish(); _root.CustomLogicAfterPerform(); }
Symbol 1003 Button
on (release) { var rect; var rect2; var x; var y; var mcItem; var mcPersonaje; var Sentido; var XZoneLeft; var XZoneCenter; var XZoneRight; var YZoneUp; var YZoneCenter; var YZoneDown; _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); _root.curScene.Personaje.Expresion = "Normal"; if (this.Task.ParentFriend.TargetItem.mc.mcBase != undefined) { mcItem = this.Task.ParentFriend.TargetItem.mc.mcBase; } else { mcItem = this.Task.ParentFriend.TargetItem.mc.mcGraph; } mcPersonaje = _root.curScene.Personaje; rect = mcItem.getRect(_root); rect2 = mcPersonaje.mcBase.getRect(_root); x = (rect2.xMin + rect2.xMax) / 2; y = rect2.yMax - ((rect2.yMax - rect2.yMin) / 10); XZoneLeft = x < rect.xMin; XZoneCenter = (x >= rect.xMin) && (x <= rect.xMax); XZoneRight = x > rect.xMax; YZoneUp = y < rect.yMin; YZoneCenter = (y >= rect.yMin) && (y <= rect.yMax); YZoneDown = y > rect.yMax; if (XZoneCenter && (YZoneCenter)) { Sentido = "BACK"; } if (XZoneLeft && (YZoneCenter)) { Sentido = "RIGHT"; } if (XZoneRight && (YZoneCenter)) { Sentido = "LEFT"; } if (YZoneUp && (XZoneCenter)) { Sentido = "FRONT"; } if (YZoneDown && (XZoneCenter)) { Sentido = "BACK"; } if (YZoneUp && (XZoneLeft)) { DeltaX = Math.abs(x - rect.xMin); DeltaY = Math.abs(y - rect.yMin); if (DeltaX > DeltaY) { Sentido = "RIGHT"; } else { Sentido = "FRONT"; } } if (YZoneUp && (XZoneRight)) { DeltaX = Math.abs(x - rect.xMax); DeltaY = Math.abs(y - rect.yMin); if (DeltaX > DeltaY) { Sentido = "LEFT"; } else { Sentido = "FRONT"; } } if (YZoneDown && (XZoneLeft)) { DeltaX = Math.abs(x - rect.xMin); DeltaY = Math.abs(y - rect.yMax); if (DeltaX > DeltaY) { Sentido = "RIGHT"; } else { Sentido = "BACK"; } } if (YZoneDown && (XZoneRight)) { DeltaX = Math.abs(x - rect.xMax); DeltaY = Math.abs(y - rect.yMax); if (DeltaX > DeltaY) { Sentido = "LEFT"; } else { Sentido = "BACK"; } } if (!_root.curScene.CurCharacterItem.Frozen) { if (Sentido == "BACK") { mcPersonaje.gotoAndStop("Stand_Back"); } if (Sentido == "FRONT") { mcPersonaje.gotoAndStop("Stand_Front"); } if (Sentido == "RIGHT") { mcPersonaje.gotoAndStop("Stand_Lateral"); mcPersonaje._xscale = -Math.abs(mcPersonaje._xscale); } if (Sentido == "LEFT") { mcPersonaje.gotoAndStop("Stand_Lateral"); mcPersonaje._xscale = Math.abs(mcPersonaje._xscale); } } mcPersonaje.mcCabeza.gotoAndStop("Normal"); this.Task.LunchTask(this.Task.HandTask); this.Task.Finish(); _root.CustomLogicAfterPerform(); }
Symbol 1008 Button
on (release) { var rect; var rect2; var x; var y; var mcItem; var mcPersonaje; var Sentido; var XZoneLeft; var XZoneCenter; var XZoneRight; var YZoneUp; var YZoneCenter; var YZoneDown; _root.curScene.Personaje.mcCabeza.gotoAndStop("Normal"); _root.curScene.Personaje.Expresion = "Normal"; if (this.Task.ParentFriend.TargetItem.mc.mcBase != undefined) { mcItem = this.Task.ParentFriend.TargetItem.mc.mcBase; } else { mcItem = this.Task.ParentFriend.TargetItem.mc.mcGraph; } mcPersonaje = _root.curScene.Personaje; rect = mcItem.getRect(_root); rect2 = mcPersonaje.mcBase.getRect(_root); x = (rect2.xMin + rect2.xMax) / 2; y = rect2.yMax - ((rect2.yMax - rect2.yMin) / 10); XZoneLeft = x < rect.xMin; XZoneCenter = (x >= rect.xMin) && (x <= rect.xMax); XZoneRight = x > rect.xMax; YZoneUp = y < rect.yMin; YZoneCenter = (y >= rect.yMin) && (y <= rect.yMax); YZoneDown = y > rect.yMax; if (XZoneCenter && (YZoneCenter)) { Sentido = "BACK"; } if (XZoneLeft && (YZoneCenter)) { Sentido = "RIGHT"; } if (XZoneRight && (YZoneCenter)) { Sentido = "LEFT"; } if (YZoneUp && (XZoneCenter)) { Sentido = "FRONT"; } if (YZoneDown && (XZoneCenter)) { Sentido = "BACK"; } if (YZoneUp && (XZoneLeft)) { DeltaX = Math.abs(x - rect.xMin); DeltaY = Math.abs(y - rect.yMin); if (DeltaX > DeltaY) { Sentido = "RIGHT"; } else { Sentido = "FRONT"; } } if (YZoneUp && (XZoneRight)) { DeltaX = Math.abs(x - rect.xMax); DeltaY = Math.abs(y - rect.yMin); if (DeltaX > DeltaY) { Sentido = "LEFT"; } else { Sentido = "FRONT"; } } if (YZoneDown && (XZoneLeft)) { DeltaX = Math.abs(x - rect.xMin); DeltaY = Math.abs(y - rect.yMax); if (DeltaX > DeltaY) { Sentido = "RIGHT"; } else { Sentido = "BACK"; } } if (YZoneDown && (XZoneRight)) { DeltaX = Math.abs(x - rect.xMax); DeltaY = Math.abs(y - rect.yMax); if (DeltaX > DeltaY) { Sentido = "LEFT"; } else { Sentido = "BACK"; } } if (!_root.curScene.CurCharacterItem.Frozen) { if (Sentido == "BACK") { mcPersonaje.gotoAndStop("Stand_Back"); } if (Sentido == "FRONT") { mcPersonaje.gotoAndStop("Stand_Front"); } if (Sentido == "RIGHT") { mcPersonaje.gotoAndStop("Stand_Lateral"); mcPersonaje._xscale = -Math.abs(mcPersonaje._xscale); } if (Sentido == "LEFT") { mcPersonaje.gotoAndStop("Stand_Lateral"); mcPersonaje._xscale = Math.abs(mcPersonaje._xscale); } } mcPersonaje.mcCabeza.gotoAndStop("Normal"); this.Task.LunchTask(this.Task.MouthTask); this.Task.Finish(); _root.CustomLogicAfterPerform(); }
Symbol 1020 MovieClip Frame 1
function ShowPanel(Msg) { if (_visible) { return(0); } if (this.Task != undefined) { txtMensaje.text = this.Task.PanelMsg; curDelay = this.Task.PanelDelay; } else { txtMensaje.text = Msg; curDelay = 35; } _visible = true; _alpha = 90; curDelayTexto = 0; } function CheckAlpha() { if (!_visible) { return(0); } if (curDelayTexto > curDelay) { _alpha = 0; if (_alpha <= 0) { if (this.Task != undefined) { this.Task.Finish(); } this.Task = undefined; _visible = false; } } else { curDelayTexto++; } } curDelay = 35; curDelayTexto = 0;
Symbol 1042 Button
on (release) { this.Task.Finish(); }
Symbol 1046 Button
on (release) { this.Task.Finish(); }
Symbol 1048 Button
on (release) { gotoAndStop (2); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1053 Button
on (release) { gotoAndStop (3); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1054 Button
on (release) { gotoAndStop (1); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1058 Button
on (release) { gotoAndStop (2); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1059 MovieClip Frame 1
function Init() { btnSalirEnglish._visible = false; btnSalirSpanish._visible = false; eval ("btnSalir" + _root.Language)._visible = true; gotoAndStop ("Intro"); } stop(); mcBookIntro.gotoAndStop(_root.Language);
Symbol 1059 MovieClip Frame 2
mcChapter1Text.gotoAndStop(_root.Language); _root.AddAction("TIENE_ACCIO"); _root.AddAction("TIENE_ALOHOMORA"); _root.AddAction("TIENE_EXPELLIARMUS"); _root.AddAction("TIENE_ANIMAGUM"); _root.AddAction("TIENE_DISCENDIO"); _root.AddAction("TIENE_PATRONUM");
Symbol 1059 MovieClip Frame 3
mcChapter2Text.gotoAndStop(_root.Language); _root.AddAction("TIENE_LEVICORPUS"); _root.AddAction("TIENE_RELASHIO"); _root.AddAction("TIENE_REPARO"); _root.AddAction("TIENE_REVELUM"); _root.AddAction("TIENE_LACARNUM"); _root.AddAction("TIENE_LEVIOSA");
Symbol 1065 Button
on (release) { gotoAndStop (2); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1069 Button
on (release) { gotoAndStop (3); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1070 Button
on (release) { gotoAndStop (1); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1074 MovieClip Frame 1
function Init() { btnSalirEnglish._visible = false; btnSalirSpanish._visible = false; eval ("btnSalir" + _root.Language)._visible = true; gotoAndStop ("Intro"); } stop(); mcBookIntro.gotoAndStop(_root.Language);
Symbol 1074 MovieClip Frame 2
mcChapter1Text.gotoAndStop(_root.Language);
Symbol 1074 MovieClip Frame 3
mcChapter2Text.gotoAndStop(_root.Language);
Symbol 1080 Button
on (release) { gotoAndStop (2); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1085 Button
on (release) { gotoAndStop (1); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1086 Button
on (release) { gotoAndStop (3); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1090 MovieClip Frame 1
function Init() { btnSalirEnglish._visible = false; btnSalirSpanish._visible = false; eval ("btnSalir" + _root.Language)._visible = true; gotoAndStop ("Intro"); } stop(); mcBookIntro.gotoAndStop(_root.Language);
Symbol 1090 MovieClip Frame 2
mcChapter1Text.gotoAndStop(_root.Language);
Symbol 1090 MovieClip Frame 3
mcGraph.gotoAndStop(1); mcChapter2Text.gotoAndStop(_root.Language);
Symbol 1096 Button
on (release) { gotoAndStop (2); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1103 Button
on (release) { gotoAndStop (3); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1104 Button
on (release) { gotoAndStop (1); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1110 Button
on (release) { gotoAndStop (2); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1111 Button
on (release) { gotoAndStop (4); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1117 Button
on (release) { gotoAndStop (3); this.Task.LunchTask("SONIDO_PAGINA"); }
Symbol 1118 MovieClip Frame 1
function Init() { btnSalirEnglish._visible = false; btnSalirSpanish._visible = false; eval ("btnSalir" + _root.Language)._visible = true; gotoAndStop ("Intro"); } stop(); mcBookIntro.gotoAndStop(_root.Language);
Symbol 1118 MovieClip Frame 2
mcChapter1Text.gotoAndStop(_root.Language);
Symbol 1118 MovieClip Frame 3
mcChapter2Text.gotoAndStop(_root.Language);
Symbol 1118 MovieClip Frame 4
mcChapter3Text.gotoAndStop(_root.Language);
Symbol 1126 Button
on (release) { this.Task.Finish(); }
Symbol 1131 Button
on (release) { this.Task.Finish(); }
Symbol 1132 MovieClip Frame 1
btnVolverJuegoSpanish._visible = false; btnVolverJuegoEnglish._visible = false; eval ("btnVolverJuego" + _root.Language)._visible = true;
Symbol 1138 Button
on (release) { this.Task.Finish(); }
Symbol 1143 Button
on (release) { this.Task.Finish(); }
Symbol 1144 MovieClip Frame 1
function Init(MovieFrame) { btnCerrarSpanish._visible = false; btnCerrarEnglish._visible = false; if (MovieFrame == "Revela") { mcGraph.gotoAndPlay("Revela"); } if (MovieFrame == "Escribe") { mcGraph.gotoAndPlay("Escribe"); } if (MovieFrame == "Normal") { eval ("btnCerrar" + _root.Language)._visible = true; mcGraph.gotoAndStop(1); } if (MovieFrame == "Revelado") { eval ("btnCerrar" + _root.Language)._visible = true; mcGraph.gotoAndStop("Revelado"); } if (MovieFrame == "Escrito") { eval ("btnCerrar" + _root.Language)._visible = true; mcGraph.gotoAndStop("Escrito"); } } stop(); trace("_root.Language=" + _root.Language);
Instance of Symbol 761 MovieClip "mcGraph" in Symbol 1144 MovieClip Frame 2
onClipEvent (enterFrame) { var btn; if (this._currentframe == 61) { btn = eval ("_parent.btnCerrar" + _root.Language); eval ("_parent.btnCerrar" + _root.Language)._visible = true; } }
Instance of Symbol 761 MovieClip "mcGraph" in Symbol 1144 MovieClip Frame 4
onClipEvent (enterFrame) { if (this._currentframe == 116) { eval ("_parent.btnCerrar" + _root.Language)._visible = true; } }
Symbol 1156 Button
on (release) { this.Task.Finish(); }
Symbol 1161 Button
on (release) { this.Task.Finish(); }
Symbol 1162 MovieClip Frame 1
function Init() { mcGasSystemAlert._visible = false; if (_root.HaveAction("ENTREGO_LENTES")) { mcTipMorfeo._visible = false; } else { mcTipMorfeo._visible = true; } } btnVolverJuegoEnglish._visible = false; btnVolverJuegoSpanish._visible = false; eval ("btnVolverJuego" + _root.Language)._visible = true; mcPerdisteText.gotoAndStop(_root.Language); mcTipMorfeo.gotoAndStop(_root.Language);
Symbol 1164 MovieClip Frame 1
function Init() { Validating = true; c = 0; } function CheckFinish() { if (!Validating) { return(undefined); } if (c >= MaxFrames) { Validating = false; c = 0; this.Task.Finish(); } else { trace("c=" + c); c++; } } mcGraph.gotoAndStop("Unicornio"); var Validating = false; var c = 0; var MaxFrames = 100;
Instance of Symbol 862 MovieClip "mcGraph" in Symbol 1164 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.CheckFinish(); }
Symbol 1167 MovieClip Frame 1
btnVolverJuegoSpanish._visible = false; btnVolverJuegoEnglish._visible = false; eval ("btnVolverJuego" + _root.Language)._visible = true;
Symbol 1183 Button
on (release) { _root.ShowTip(); }
Symbol 1188 Button
on (release) { _root.ShowTip(); }
Symbol 1199 Button
on (release) { this.Task.Finish(); }
Symbol 1204 Button
on (release) { gotoAndStop ("ShowTip"); }
Symbol 1212 Button
on (release) { this.Task.Finish(); }
Symbol 1217 Button
on (release) { gotoAndStop ("ShowTip"); }
Symbol 1223 Button
on (release) { _root.FramesSinceLastTip = 0; this.Task.Finish(); this.gotoAndStop(1); }
Symbol 1228 Button
on (release) { _root.FramesSinceLastTip = 0; this.Task.Finish(); this.gotoAndStop(1); }
Symbol 1234 Button
on (release) { this.Task.Finish(); }
Symbol 1239 Button
on (release) { gotoAndStop ("ShowTip"); }
Symbol 1244 Button
on (release) { this.Task.Finish(); }
Symbol 1252 Button
on (release) { gotoAndStop ("ShowTip"); }
Symbol 1253 MovieClip Frame 1
function Init() { NextTip = _root.GetNextTip(); if (_root.TipsUsed == 0) { gotoAndStop ("TipIntro"); } else if (NextTip == "NO_MORE_TIPS") { gotoAndStop ("ShowTip"); } else { gotoAndStop ("ConfirmTip"); } } NextTip = ""; stop();
Symbol 1253 MovieClip Frame 2
btnNeverTipEnglish._visible = false; btnNeverTipSpanish._visible = false; eval ("btnNeverTip" + _root.Language)._visible = true; btnGiveFirstTipSpanish._visible = false; btnGiveFirstTipEnglish._visible = false; eval ("btnGiveFirstTip" + _root.Language)._visible = true; if (_root.Language == "English") { txtIntro = ("SO YOU WANT SOME TIPS ... HERE ARE THE RULES:" + String.fromCharCode(13)) + String.fromCharCode(13); txtIntro = (((txtIntro + "1. YOU'LL HAVE JUST ") + _root.MaxTips) + " TIPS PER GAME.") + String.fromCharCode(13); txtIntro = (((txtIntro + "2. EACH TIP WILL COST YOU ") + _root.PointsForTip) + " POINTS.") + String.fromCharCode(13); if (_root.MinutesToNextTip > 1) { txtIntro = (((txtIntro + "3. YOU'LL HAVE TO WAIT ") + _root.MinutesToNextTip) + " MINUTES TO ASK ANOTHER TIP AGAIN.") + String.fromCharCode(13); } else { txtIntro = (txtIntro + "3. YOU'LL HAVE TO WAIT 1 MINUTE TO ASK ANOTHER TIP AGAIN.") + String.fromCharCode(13); } txtIntro = txtIntro + String.fromCharCode(13); txtIntro = txtIntro + "DO YOU ACCEPT THE RULES?"; } else { txtIntro = ("ASI QUE QUIERES TIPS ... AQUI ESTAN MIS REGLAS:" + String.fromCharCode(13)) + String.fromCharCode(13); txtIntro = (((txtIntro + "1. SOLO TENDRAS ") + _root.MaxTips) + " TIPS POR JUEGO.") + String.fromCharCode(13); txtIntro = (((txtIntro + "2. CADA TIP TE COSTARA ") + _root.PointsForTip) + " PUNTOS.") + String.fromCharCode(13); if (_root.MinutesToNextTip > 1) { txtIntro = (((txtIntro + "3. TENDRAS QUE ESPERAR ") + _root.MinutesToNextTip) + " MINUTOS PARA PEDIR OTRO TIP.") + String.fromCharCode(13); } else { txtIntro = (txtIntro + "3. TENDRAS QUE ESPERAR 1 MINUTO PARA PEDIR OTRO TIP.") + String.fromCharCode(13); } txtIntro = txtIntro + String.fromCharCode(13); txtIntro = (txtIntro + "ACEPTAS LAS REGLAS?") + String.fromCharCode(13); }
Symbol 1253 MovieClip Frame 3
function PerformShowTip() { btnSalirEnglish._visible = false; btnSalirSpanish._visible = false; trace("_root.Language=" + _root.Language); eval ("btnSalir" + _root.Language)._visible = true; trace("NextTip=" + NextTip); if (NextTip == "NO_MORE_TIPS") { if (_root.Language == "English") { txtTip = "No more tips for this puzzle"; } else { txtTip = "No hay m\u00E1s tips para esta prueba"; } _root.NoMoreTips = true; } else { txtTip = NextTip; if (_root.LastTipShowed != NextTip) { _root.TipsUsed++; if (_root.TipsUsed == _root.MaxTips) { _root.mcShowTipDisabledSpanish._visible = false; _root.mcShowTipDisabledEnglish._visible = false; } _root.LastTipShowed = NextTip; } } } PerformShowTip();
Symbol 1253 MovieClip Frame 4
trace("Language=" + Language); if (_root.Language == "English") { if ((_root.MaxTips - _root.TipsUsed) == 1) { txtPregunta = ("I SUGGEST YOU USE THE TIPS WHEN'S STRICTLY NECESSARY." + String.fromCharCode(13)) + "YOU HAVE JUST 1 TIP LEFT .. \u00BFDO YOU WANT THE TIP ANYWAY?"; } else { txtPregunta = ((("I SUGGEST YOU USE THE TIPS WHEN'S STRICTLY NECESSARY." + String.fromCharCode(13)) + "YOU HAVE JUST ") + (_root.MaxTips - _root.TipsUsed)) + " TIPS LEFT .. \u00BFDO YOU WANT ANOTHER TIP ANYWAY?"; } } else if ((_root.MaxTips - _root.TipsUsed) == 1) { txtPregunta = ("TE SUGIERO QUE USES LOS TIPS SOLO CUANDO SEA ABSOLUTAMENTE INDISPENSABLE." + String.fromCharCode(13)) + "SOLO TE QUEDA 1 TIP .. \u00BFQUIERES EL TIP DE TODOS MODOS?"; } else { txtPregunta = ((("TE SUGIERO QUE USES LOS TIPS SOLO CUANDO SEA ABSOLUTAMENTE INDISPENSABLE." + String.fromCharCode(13)) + "SOLO TE QUEDAN ") + (_root.MaxTips - _root.TipsUsed)) + " TIPS .. \u00BFQUIERES OTRO TIP DE TODOS MODOS?"; } btnSaveTipEnglish._visible = false; btnSaveTipSpanish._visible = false; eval ("btnSaveTip" + _root.Language)._visible = true; btnGiveNextTipSpanish._visible = false; btnGiveNextTipEnglish._visible = false; eval ("btnGiveNextTip" + _root.Language)._visible = true;
Symbol 1258 Button
on (release) { _root.SkipIntro(); }
Symbol 1261 Button
on (release) { _root.SkipIntro(); }
Instance of Symbol 36 MovieClip "mcTitle" in Symbol 1270 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.c < 50) { _root.c++; } else { _root.nextScene(); } }
Symbol 1272 Button
on (release) { _root.gtm(); }
Symbol 1290 Button
on (release) { _root.ControlAudio.setVolume(_root.InitialVolume); btnNoAudio._visible = false; btnAudio._visible = true; }
Symbol 1292 Button
on (release) { _root.ControlAudio.setVolume(0); btnNoAudio._visible = true; btnAudio._visible = false; }
Symbol 1293 MovieClip Frame 1
btnAudio._visible = true; btnNoAudio._visible = false;
Symbol 1299 Button
on (release) { if ((Language != "English") && (Language != "")) { getURL (GameServer + "obama_escape_game.html", "_target"); } Language = "English"; tm2.load((((GameServer + "get_language.php?language=") + Language) + "&x=") + new Date().getTime()); gotoAndStop ("BeginGame2"); }
Symbol 1304 Button
on (release) { var url; if ((Language != "Spanish") && (Language != "")) { getURL (GameServer + "obama_juego_escape.html", "_target"); } Language = "Spanish"; url = (((GameServer + "get_language.php?language=") + Language) + "&x=") + new Date().getTime(); tm2.load(url); gotoAndStop ("BeginGame2"); }
Symbol 1308 Button
on (release) { var url; if ((Language != "English") && (FromPage)) { Language = "English"; url = (((GameServer + "get_language.php?language=") + Language) + "&x=") + new Date().getTime(); tm2.load(url); trace(url); LanzaIngles = true; return(undefined); } Language = "English"; tm2.load((((GameServer + "get_language.php?language=") + Language) + "&x=") + new Date().getTime()); gotoAndStop ("BeginGame2"); }
Symbol 1312 Button
on (release) { var url; if ((Language != "Spanish") && (FromPage)) { Language = "Spanish"; url = (((GameServer + "get_language.php?language=") + Language) + "&x=") + new Date().getTime(); tm2.load(url); trace(url); LanzaEspanol = true; return(undefined); } Language = "Spanish"; url = (((GameServer + "get_language.php?language=") + Language) + "&x=") + new Date().getTime(); tm2.load(url); gotoAndStop ("BeginGame2"); }
Symbol 1323 Button
on (release) { getURL ("http://www.facebook.com/pages/Inkagames/68249789988", "_blank"); }
Symbol 1328 Button
on (release) { getURL ("http://www.facebook.com/pages/Inkagames/68249789988", "_blank"); }
Symbol 1333 Button
on (release) { getURL ("http://www.inkagames.com", "_blank"); }
Symbol 1338 Button
on (release) { gotoAndStop ("BeginGame4"); }
Symbol 1342 Button
on (release) { gotoAndStop ("BeginGame3"); }
Symbol 1347 Button
on (release) { getURL (GameServer + "obama_operacion_raton_ranking.php", "_blank"); }
Symbol 1348 Button
on (release) { if (FromPage) { getURL (GameServer + "obama_potter_english.html", "_parent"); return(undefined); } Language = "English"; url = (((GameServer + "get_language.php?language=") + Language) + "&x=") + new Date().getTime(); tm7.load(url); InitIdioma(); }
Symbol 1353 Button
on (release) { getURL ("http://www.inkagames.com/index_en.html", "_blank"); }
Symbol 1358 Button
on (release) { gotoAndStop ("BeginGame4"); }
Symbol 1363 Button
on (release) { gotoAndStop ("BeginGame3"); }
Symbol 1367 Button
on (release) { getURL (GameServer + "obama_ratface_game_ranking.php", "_blank"); }
Symbol 1368 Button
on (release) { if (FromPage) { getURL (GameServer + "obama_potter.html", "_parent"); } Language = "Spanish"; url = (((GameServer + "get_language.php?language=") + Language) + "&x=") + new Date().getTime(); tm7.load(url); InitIdioma(); }
Symbol 1380 Button
on (release) { gotoAndStop ("BeginGame2"); }
Symbol 1383 Button
on (release) { gotoAndStop ("BeginGame2"); }
Symbol 1401 Button
on (release) { gotoAndStop ("BeginGame"); }
Symbol 1402 Button
on (release) { gotoAndStop ("BeginGame"); }
Symbol 1429 Button
on (release) { getURL ("http://www.inkagames.com/index_en.html", "_blank"); }
Symbol 1435 Button
on (release) { getURL ("http://www.facebook.com/pages/Inkagames/68249789988", "_blank"); }
Symbol 1440 Button
on (release) { getURL ("http://www.facebook.com/pages/Inkagames/68249789988", "_blank"); }
Symbol 1444 Button
on (release) { getURL (GameServer + "obama_potter_ranking.php", "_blank"); }
Symbol 1445 Button
on (release) { getURL (GameServer + "obama_potter_ranking_en.php", "_blank"); }
Symbol 1456 Button
on (release) { trace("1"); if (_root.Procesando) { return(0); } _root.Procesando = true; trace("2"); _root.SaveData(); }
Symbol 1485 Button
on (release) { trace("1"); if (_root.Procesando) { return(0); } _root.Procesando = true; trace("2"); _root.SaveData(); }
Symbol 1488 Button
on (release) { trace("1"); if (_root.Procesando) { return(0); } _root.Procesando = true; trace("2"); _root.SaveData(); }
Symbol 1499 Button
on (release) { getURL ("http://www.inkagames.com", "_blank"); }

Library Items

Symbol 1 GraphicUsed by:2 167
Symbol 2 MovieClipUses:1Used by:14 94 148 404 549 553 564 570 577 586 593 596 602 611 614 617 656 666 669 698 764 770 790 795 800 809 817 844 863 866 873
Symbol 3 GraphicUsed by:4 168
Symbol 4 MovieClipUses:3Used by:14 148 152 398 404 421 461 464 503 521 549 553 564 570 577 586 593 596 602 611 614 617 624 647 656 666 669 687 695 698 712 726 764 770 777 784 790 793 794 795 796 800 809 817 826 839 844 863 866 873
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:9
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClipUses:6 8Used by:14
Symbol 10 GraphicUsed by:11 171
Symbol 11 MovieClipUses:10Used by:14 93 94 148 155 360 368 398 404 421 507 510 530 549 553 564 570 577 578 586 587 593 596 602 611 614 647 656 666 669 687 695 698 712 726 764 770 777 784 790 793 794 795 796 800 817 826 844 863 866 869 873
Symbol 12 GraphicUsed by:13 166
Symbol 13 MovieClipUses:12Used by:14 148 368 404 503 507 530 549 553 564 570 577 586 593 596 602 611 614 617 666 669 687 695 698 712 726 764 770 777 784 790 793 794 795 796 800 809 817 826 840 844 863 866 873
Symbol 14 MovieClip [mcJorge]Uses:2 4 9 11 13
Symbol 15 GraphicUsed by:19
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:19
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:15 17 18Used by:33
Symbol 20 FontUsed by:21 83 84 1014 1015 1016 1262 1294 1370 1371 1374 1375 1430 1468 1475 1492
Symbol 21 EditableTextUses:20Used by:33
Symbol 22 GraphicUsed by:25
Symbol 23 FontUsed by:24
Symbol 24 TextUses:23Used by:25
Symbol 25 ButtonUses:22 24Used by:33
Symbol 26 GraphicUsed by:27 28
Symbol 27 ButtonUses:26Used by:33
Symbol 28 ButtonUses:26Used by:33
Symbol 29 FontUsed by:30 31 1021
Symbol 30 EditableTextUses:29Used by:33
Symbol 31 EditableTextUses:29Used by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip [movClaveCaja]Uses:19 21 25 27 28 30 31 32
Symbol 34 GraphicUsed by:36
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:34 35Used by:1270  Timeline
Symbol 37 GraphicUsed by:39
Symbol 38 GraphicUsed by:39
Symbol 39 ButtonUses:37 38Used by:Timeline
Symbol 40 FontUsed by:41 42 730 731 732 733 735 802 804 805 877 878 879 881 882 883 885 886 887 889 891 892 893 895 896 897 899 900 901 903 904 905 907 908 909 911 912 913 915 916 917 919 920 921 923 924 925 927 928 930 1038 1039 1040 1043 1044 1045 1120 1267 1268 1273 1274
Symbol 41 EditableTextUses:40Used by:46
Symbol 42 TextUses:40Used by:45
Symbol 43 FontUsed by:44 734
Symbol 44 TextUses:43Used by:45
Symbol 45 MovieClipUses:42 44Used by:46
Symbol 46 MovieClipUses:41 45Used by:Timeline
Symbol 47 FontUsed by:48
Symbol 48 TextUses:47Used by:Timeline
Symbol 49 FontUsed by:50
Symbol 50 TextUses:49Used by:52
Symbol 51 GraphicUsed by:52
Symbol 52 ButtonUses:50 51Used by:Timeline
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:Timeline
Symbol 55 Sound [detect_audio]Used by:82
Symbol 56 Sound [fondo_intro]Used by:82
Symbol 57 Sound [fondo_celda]Used by:82
Symbol 58 Sound [troll_fondo]Used by:82
Symbol 59 Sound [gana2]Used by:82
Symbol 60 Sound [cucharon]Used by:82
Symbol 61 Sound [enciende_lena]Used by:82
Symbol 62 Sound [rompe_vasija]Used by:82
Symbol 63 Sound [cola_unicornio]Used by:82
Symbol 64 Sound [mueve_armadura]Used by:82
Symbol 65 Sound [bebe]Used by:82
Symbol 66 Sound [pop]Used by:82
Symbol 67 Sound [spell_voldemort]Used by:82 147
Symbol 68 Sound [sube_cuerda]Used by:82 353
Symbol 69 Sound [tomafoto]Used by:82
Symbol 70 Sound [salta_muro]Used by:82
Symbol 71 Sound [pone_gancho]Used by:82
Symbol 72 Sound [lanza_soga]Used by:82
Symbol 73 Sound [gira_soga]Used by:82
Symbol 74 Sound [puerta_botiquin]Used by:82
Symbol 75 Sound [page_turn]Used by:82
Symbol 76 Sound [filch]Used by:82
Symbol 77 Sound [unlock_door]Used by:82
Symbol 78 Sound [cae_gorda]Used by:82 455
Symbol 79 Sound [coge_keke]Used by:82 353
Symbol 80 Sound [gorda_shock]Used by:82 502
Symbol 81 Sound [sienta_gorda]Used by:82 147 353
Symbol 82 MovieClipUses:55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81Used by:Timeline
Symbol 83 TextUses:20Used by:Timeline
Symbol 84 TextUses:20Used by:Timeline
Symbol 85 GraphicUsed by:86 1270
Symbol 86 MovieClipUses:85Used by:Timeline
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:354 422 465
Symbol 89 GraphicUsed by:354
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:93
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:91 11 92Used by:94
Symbol 94 MovieClipUses:2 93 11Used by:354
Symbol 95 GraphicUsed by:354 422
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:354 465
Symbol 98 GraphicUsed by:99 156 424 475
Symbol 99 MovieClipUses:98Used by:148 353 549 666 669 858 873 1167
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:147
Symbol 102 GraphicUsed by:147
Symbol 103 GraphicUsed by:147
Symbol 104 GraphicUsed by:147
Symbol 105 GraphicUsed by:147
Symbol 106 GraphicUsed by:147
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:147
Symbol 109 GraphicUsed by:147
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:147
Symbol 112 GraphicUsed by:147
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:147
Symbol 115 GraphicUsed by:147
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:147
Symbol 118 GraphicUsed by:147
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:147
Symbol 121 GraphicUsed by:147
Symbol 122 GraphicUsed by:147
Symbol 123 SoundUsed by:147
Symbol 124 GraphicUsed by:147
Symbol 125 GraphicUsed by:128
Symbol 126 GraphicUsed by:128
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:125 126 127Used by:129
Symbol 129 MovieClipUses:128Used by:147
Symbol 130 GraphicUsed by:147
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:147
Symbol 133 SoundUsed by:147
Symbol 134 GraphicUsed by:147
Symbol 135 GraphicUsed by:147
Symbol 136 GraphicUsed by:147
Symbol 137 GraphicUsed by:147
Symbol 138 GraphicUsed by:147
Symbol 139 GraphicUsed by:147
Symbol 140 GraphicUsed by:147
Symbol 141 GraphicUsed by:147
Symbol 142 GraphicUsed by:147
Symbol 143 GraphicUsed by:147
Symbol 144 GraphicUsed by:147
Symbol 145 GraphicUsed by:147
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:101 102 67 103 104 105 106 108 109 111 112 114 81 115 117 118 120 121 122 123 124 129 130 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146Used by:148
Symbol 148 MovieClipUses:13 4 2 11 99 147Used by:354
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:151
Symbol 151 MovieClipUses:150Used by:152
Symbol 152 MovieClipUses:4 151Used by:354
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:155
Symbol 155 MovieClipUses:154 11Used by:354 801 841 870 874
Symbol 156 MovieClipUses:98Used by:160 163 464 593 602 611 652 770 844 863 866
Symbol 157 GraphicUsed by:159
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:157 158Used by:160
Symbol 160 MovieClipUses:156 159Used by:354
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:163  Timeline
Symbol 163 MovieClipUses:156 162Used by:354
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:354 422 465 511 554 670 801 841 870 874
Symbol 166 MovieClipUses:12Used by:353
Symbol 167 MovieClipUses:1Used by:353
Symbol 168 MovieClipUses:3Used by:353
Symbol 169 GraphicUsed by:170 172
Symbol 170 MovieClipUses:169Used by:353
Symbol 171 MovieClipUses:10Used by:353
Symbol 172 MovieClipUses:169Used by:353
Symbol 173 GraphicUsed by:353
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:199 264 858
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:199 264
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:199 264
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:199
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:199
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClipUses:184Used by:199
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:186Used by:199
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:188Used by:199
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:199 858
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:199 858
Symbol 194 GraphicUsed by:199
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:195Used by:199
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClipUses:175 177 179 181 183 185 187 189 191 193 194 196 198Used by:353
Symbol 200 GraphicUsed by:353
Symbol 201 GraphicUsed by:353
Symbol 202 GraphicUsed by:353
Symbol 203 GraphicUsed by:353
Symbol 204 GraphicUsed by:353
Symbol 205 GraphicUsed by:353
Symbol 206 GraphicUsed by:353
Symbol 207 GraphicUsed by:353
Symbol 208 GraphicUsed by:353
Symbol 209 GraphicUsed by:210
Symbol 210 MovieClipUses:209Used by:234 258 266 275
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:234 266 275
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClipUses:213Used by:234 266 275
Symbol 215 GraphicUsed by:216
Symbol 216 MovieClipUses:215Used by:234
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:217Used by:234
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219Used by:234
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:221Used by:234
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:234
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:234 258
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:234 258
Symbol 229 GraphicUsed by:234
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230Used by:234
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:234
Symbol 234 MovieClipUses:210 212 214 216 218 220 222 224 226 228 229 231 233Used by:353
Symbol 235 GraphicUsed by:353
Symbol 236 GraphicUsed by:353
Symbol 237 GraphicUsed by:353
Symbol 238 GraphicUsed by:353
Symbol 239 GraphicUsed by:353
Symbol 240 GraphicUsed by:353
Symbol 241 GraphicUsed by:353
Symbol 242 GraphicUsed by:353
Symbol 243 GraphicUsed by:353
Symbol 244 GraphicUsed by:353
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:353
Symbol 247 GraphicUsed by:353
Symbol 248 GraphicUsed by:353
Symbol 249 GraphicUsed by:353
Symbol 250 GraphicUsed by:353
Symbol 251 GraphicUsed by:353
Symbol 252 GraphicUsed by:353
Symbol 253 GraphicUsed by:353
Symbol 254 GraphicUsed by:353
Symbol 255 GraphicUsed by:353
Symbol 256 GraphicUsed by:353
Symbol 257 GraphicUsed by:259
Symbol 258 MovieClipUses:210 226 228Used by:259 261
Symbol 259 MovieClipUses:257 258Used by:353
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:260 258Used by:353
Symbol 262 GraphicUsed by:353
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClipUses:175 177 179 263Used by:353 1162
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClipUses:265 210 212 214Used by:353
Symbol 267 GraphicUsed by:353
Symbol 268 GraphicUsed by:353
Symbol 269 GraphicUsed by:353
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:353 770
Symbol 272 GraphicUsed by:353
Symbol 273 GraphicUsed by:353
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274 210 212 214Used by:353
Symbol 276 GraphicUsed by:353
Symbol 277 GraphicUsed by:353
Symbol 278 SoundUsed by:353
Symbol 279 GraphicUsed by:353
Symbol 280 GraphicUsed by:353
Symbol 281 GraphicUsed by:353
Symbol 282 GraphicUsed by:353
Symbol 283 GraphicUsed by:353
Symbol 284 GraphicUsed by:353
Symbol 285 GraphicUsed by:353
Symbol 286 GraphicUsed by:353
Symbol 287 GraphicUsed by:353
Symbol 288 GraphicUsed by:353
Symbol 289 GraphicUsed by:353
Symbol 290 GraphicUsed by:353
Symbol 291 GraphicUsed by:353
Symbol 292 GraphicUsed by:353
Symbol 293 GraphicUsed by:353
Symbol 294 GraphicUsed by:353
Symbol 295 GraphicUsed by:353
Symbol 296 GraphicUsed by:353
Symbol 297 GraphicUsed by:353
Symbol 298 GraphicUsed by:353
Symbol 299 GraphicUsed by:353
Symbol 300 GraphicUsed by:353
Symbol 301 GraphicUsed by:353
Symbol 302 GraphicUsed by:353
Symbol 303 GraphicUsed by:353
Symbol 304 GraphicUsed by:353
Symbol 305 GraphicUsed by:353
Symbol 306 GraphicUsed by:353
Symbol 307 GraphicUsed by:353
Symbol 308 GraphicUsed by:353
Symbol 309 GraphicUsed by:353
Symbol 310 GraphicUsed by:353
Symbol 311 GraphicUsed by:353
Symbol 312 GraphicUsed by:353
Symbol 313 GraphicUsed by:353
Symbol 314 GraphicUsed by:353
Symbol 315 GraphicUsed by:353
Symbol 316 GraphicUsed by:353
Symbol 317 GraphicUsed by:353
Symbol 318 GraphicUsed by:353
Symbol 319 GraphicUsed by:353
Symbol 320 GraphicUsed by:353
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:321Used by:353 795 872
Symbol 323 GraphicUsed by:353
Symbol 324 GraphicUsed by:353
Symbol 325 GraphicUsed by:353
Symbol 326 GraphicUsed by:353
Symbol 327 GraphicUsed by:353
Symbol 328 GraphicUsed by:353
Symbol 329 GraphicUsed by:353
Symbol 330 GraphicUsed by:353
Symbol 331 GraphicUsed by:353
Symbol 332 GraphicUsed by:353
Symbol 333 GraphicUsed by:353
Symbol 334 GraphicUsed by:353
Symbol 335 SoundUsed by:353
Symbol 336 GraphicUsed by:353
Symbol 337 GraphicUsed by:353
Symbol 338 GraphicUsed by:353
Symbol 339 GraphicUsed by:353
Symbol 340 GraphicUsed by:353
Symbol 341 GraphicUsed by:353
Symbol 342 GraphicUsed by:353
Symbol 343 GraphicUsed by:353
Symbol 344 GraphicUsed by:353
Symbol 345 GraphicUsed by:353
Symbol 346 GraphicUsed by:353
Symbol 347 GraphicUsed by:353
Symbol 348 GraphicUsed by:353
Symbol 349 GraphicUsed by:353
Symbol 350 GraphicUsed by:353
Symbol 351 GraphicUsed by:353
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClipUses:166 167 168 170 171 172 99 173 199 200 201 202 203 204 205 206 207 208 234 235 236 237 238 239 240 241 242 243 244 246 247 248 249 250 251 252 253 254 255 256 259 81 261 262 264 266 267 268 68 269 271 272 273 275 276 277 278 279 280 281 282 283 79 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352Used by:354 422 465 511 554 657 670 801 841 845 870 874 875
Symbol 354 MovieClipUses:88 89 94 95 97 148 152 155 160 163 165 353Used by:Timeline
Symbol 355 GraphicUsed by:422
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClipUses:356Used by:360 422
Symbol 358 GraphicUsed by:359 818 1168 1342 1367 1445
Symbol 359 MovieClipUses:358Used by:360 510 564 570 577 578 586 587 593 596 602 656 698 764 770 777 790 794 795 796 800 869
Symbol 360 MovieClip [mcSacaCorchos]Uses:359 11 357Used by:422
Symbol 361 GraphicUsed by:422
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:362Used by:422
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:364Used by:422
Symbol 366 GraphicUsed by:367
Symbol 367 MovieClipUses:366Used by:368
Symbol 368 MovieClipUses:11 13 367Used by:422
Symbol 369 GraphicUsed by:370
Symbol 370 MovieClipUses:369Used by:397 398
Symbol 371 GraphicUsed by:397
Symbol 372 GraphicUsed by:397
Symbol 373 SoundUsed by:397
Symbol 374 GraphicUsed by:397
Symbol 375 GraphicUsed by:397
Symbol 376 GraphicUsed by:397
Symbol 377 GraphicUsed by:397
Symbol 378 GraphicUsed by:397
Symbol 379 GraphicUsed by:397
Symbol 380 GraphicUsed by:397
Symbol 381 GraphicUsed by:397
Symbol 382 GraphicUsed by:397
Symbol 383 GraphicUsed by:397
Symbol 384 GraphicUsed by:397
Symbol 385 GraphicUsed by:397
Symbol 386 GraphicUsed by:397
Symbol 387 GraphicUsed by:397
Symbol 388 GraphicUsed by:397
Symbol 389 GraphicUsed by:397
Symbol 390 GraphicUsed by:397
Symbol 391 GraphicUsed by:397
Symbol 392 GraphicUsed by:397
Symbol 393 GraphicUsed by:397
Symbol 394 GraphicUsed by:395
Symbol 395 MovieClipUses:394Used by:397
Symbol 396 SoundUsed by:397
Symbol 397 MovieClipUses:371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 395 370 396Used by:398
Symbol 398 MovieClipUses:4 370 11 397Used by:422
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:422 465
Symbol 401 GraphicUsed by:402
Symbol 402 MovieClipUses:401Used by:403
Symbol 403 MovieClipUses:402Used by:404
Symbol 404 MovieClipUses:4 403 11 2 13Used by:422 465 554 670 841 845 874 875
Symbol 405 GraphicUsed by:420
Symbol 406 GraphicUsed by:420
Symbol 407 SoundUsed by:420
Symbol 408 GraphicUsed by:420
Symbol 409 GraphicUsed by:420
Symbol 410 GraphicUsed by:420
Symbol 411 GraphicUsed by:420
Symbol 412 GraphicUsed by:420
Symbol 413 GraphicUsed by:420
Symbol 414 GraphicUsed by:420
Symbol 415 GraphicUsed by:420
Symbol 416 GraphicUsed by:420
Symbol 417 GraphicUsed by:420
Symbol 418 GraphicUsed by:419
Symbol 419 MovieClipUses:418Used by:420
Symbol 420 MovieClipUses:405 406 407 408 409 410 411 412 413 414 415 416 417 419Used by:421
Symbol 421 MovieClipUses:4 11 420Used by:422
Symbol 422 MovieClipUses:88 355 357 360 361 363 95 365 368 398 400 165 404 421 353Used by:Timeline
Symbol 423 GraphicUsed by:465
Symbol 424 MovieClipUses:98Used by:461
Symbol 425 GraphicUsed by:427
Symbol 426 GraphicUsed by:427
Symbol 427 MovieClipUses:425 426Used by:461
Symbol 428 GraphicUsed by:429
Symbol 429 MovieClipUses:428Used by:455
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:430Used by:455
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:432Used by:455
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClipUses:434Used by:455
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClipUses:436Used by:455
Symbol 438 GraphicUsed by:439
Symbol 439 MovieClipUses:438Used by:455
Symbol 440 SoundUsed by:455
Symbol 441 GraphicUsed by:442
Symbol 442 MovieClipUses:441Used by:455
Symbol 443 GraphicUsed by:444
Symbol 444 MovieClipUses:443Used by:455
Symbol 445 SoundUsed by:455
Symbol 446 GraphicUsed by:455
Symbol 447 GraphicUsed by:455
Symbol 448 GraphicUsed by:455
Symbol 449 GraphicUsed by:455
Symbol 450 GraphicUsed by:455
Symbol 451 GraphicUsed by:455
Symbol 452 GraphicUsed by:455
Symbol 453 GraphicUsed by:455
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:429 431 433 435 437 439 440 442 444 445 446 447 448 449 450 78 451 452 453 454Used by:461
Symbol 456 GraphicUsed by:457 653
Symbol 457 MovieClipUses:456Used by:461
Symbol 458 GraphicUsed by:460
Symbol 459 GraphicUsed by:460
Symbol 460 MovieClipUses:458 459Used by:461
Symbol 461 MovieClipUses:424 427 455 4 457 460Used by:465
Symbol 462 GraphicUsed by:463
Symbol 463 MovieClipUses:462Used by:464 796
Symbol 464 MovieClipUses:156 4 463Used by:465
Symbol 465 MovieClipUses:88 423 97 165 400 461 464 404 353Used by:Timeline
Symbol 466 GraphicUsed by:511
Symbol 467 GraphicUsed by:468
Symbol 468 MovieClipUses:467Used by:511 870
Symbol 469 GraphicUsed by:471
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:469 470Used by:503
Symbol 472 GraphicUsed by:474
Symbol 473 GraphicUsed by:474
Symbol 474 MovieClipUses:472 473Used by:503
Symbol 475 MovieClipUses:98Used by:503
Symbol 476 GraphicUsed by:502
Symbol 477 SoundUsed by:502
Symbol 478 GraphicUsed by:502
Symbol 479 GraphicUsed by:502
Symbol 480 GraphicUsed by:502
Symbol 481 GraphicUsed by:502
Symbol 482 GraphicUsed by:502
Symbol 483 GraphicUsed by:502
Symbol 484 GraphicUsed by:502
Symbol 485 GraphicUsed by:502
Symbol 486 GraphicUsed by:502
Symbol 487 SoundUsed by:502
Symbol 488 GraphicUsed by:502
Symbol 489 GraphicUsed by:502
Symbol 490 GraphicUsed by:502
Symbol 491 GraphicUsed by:502
Symbol 492 GraphicUsed by:502
Symbol 493 GraphicUsed by:502
Symbol 494 GraphicUsed by:502
Symbol 495 GraphicUsed by:502
Symbol 496 GraphicUsed by:502
Symbol 497 GraphicUsed by:502
Symbol 498 GraphicUsed by:502
Symbol 499 GraphicUsed by:502
Symbol 500 GraphicUsed by:502
Symbol 501 GraphicUsed by:502
Symbol 502 MovieClipUses:476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 80Used by:503
Symbol 503 MovieClipUses:13 4 471 474 475 502Used by:511
Symbol 504 GraphicUsed by:505
Symbol 505 MovieClipUses:504Used by:506
Symbol 506 MovieClipUses:505Used by:507
Symbol 507 MovieClipUses:506 11 13Used by:511 657 801 870
Symbol 508 GraphicUsed by:509
Symbol 509 MovieClipUses:508Used by:510
Symbol 510 MovieClip [mcCopa]Uses:359 509 11Used by:511
Symbol 511 MovieClipUses:466 468 503 507 165 510 353Used by:Timeline
Symbol 512 GraphicUsed by:513
Symbol 513 MovieClipUses:512Used by:554 670 841 845 874 875 1167
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:554 841 845 874 875
Symbol 516 GraphicUsed by:520
Symbol 517 GraphicUsed by:520
Symbol 518 GraphicUsed by:520
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:516 517 518 519Used by:554 670 841 845 874 875
Symbol 521 MovieClipUses:4Used by:530
Symbol 522 GraphicUsed by:524
Symbol 523 GraphicUsed by:524
Symbol 524 MovieClipUses:522 523Used by:530
Symbol 525 GraphicUsed by:529
Symbol 526 GraphicUsed by:529
Symbol 527 GraphicUsed by:529
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:525 526 527 528Used by:530
Symbol 530 MovieClipUses:521 524 13 529 11Used by:554 670 874
Symbol 531 GraphicUsed by:548
Symbol 532 GraphicUsed by:548
Symbol 533 GraphicUsed by:548
Symbol 534 GraphicUsed by:548
Symbol 535 GraphicUsed by:548
Symbol 536 GraphicUsed by:548
Symbol 537 GraphicUsed by:548
Symbol 538 SoundUsed by:548
Symbol 539 GraphicUsed by:548
Symbol 540 GraphicUsed by:547 548
Symbol 541 GraphicUsed by:548
Symbol 542 GraphicUsed by:548
Symbol 543 GraphicUsed by:548
Symbol 544 GraphicUsed by:548
Symbol 545 GraphicUsed by:548
Symbol 546 GraphicUsed by:548
Symbol 547 MovieClipUses:540Used by:548
Symbol 548 MovieClipUses:531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547Used by:549
Symbol 549 MovieClipUses:13 4 2 11 99 548Used by:554
Symbol 550 GraphicUsed by:551
Symbol 551 MovieClipUses:550Used by:552
Symbol 552 MovieClipUses:551Used by:553
Symbol 553 MovieClipUses:552 4 11 13 2Used by:554 670 874
Symbol 554 MovieClipUses:513 515 520 530 549 404 553 165 353Used by:Timeline
Symbol 555 GraphicUsed by:Timeline
Symbol 556 GraphicUsed by:657
Symbol 557 GraphicUsed by:558
Symbol 558 MovieClipUses:557Used by:657
Symbol 559 GraphicUsed by:560
Symbol 560 MovieClipUses:559Used by:657
Symbol 561 GraphicUsed by:563
Symbol 562 GraphicUsed by:563
Symbol 563 MovieClipUses:561 562Used by:564
Symbol 564 MovieClip [mcPlumaFenix]Uses:359 563 11 4 2 13Used by:657
Symbol 565 GraphicUsed by:566
Symbol 566 MovieClipUses:565Used by:657
Symbol 567 GraphicUsed by:657
Symbol 568 GraphicUsed by:569
Symbol 569 MovieClipUses:568Used by:570
Symbol 570 MovieClip [mcGelatina]Uses:359 11 569 4 13 2Used by:657
Symbol 571 GraphicUsed by:572
Symbol 572 MovieClipUses:571Used by:576 578
Symbol 573 GraphicUsed by:576
Symbol 574 GraphicUsed by:576
Symbol 575 GraphicUsed by:576
Symbol 576 MovieClipUses:572 573 574 575Used by:577 1090
Symbol 577 MovieClip [mcFelicis]Uses:359 11 576 4 13 2Used by:657
Symbol 578 MovieClip [mcCorcho]Uses:359 572 11Used by:657
Symbol 579 GraphicUsed by:580
Symbol 580 MovieClipUses:579Used by:585 587
Symbol 581 GraphicUsed by:582
Symbol 582 MovieClipUses:581Used by:585
Symbol 583 GraphicUsed by:585
Symbol 584 GraphicUsed by:585
Symbol 585 MovieClipUses:580 582 583 584Used by:586
Symbol 586 MovieClip [mcDedoVasija]Uses:359 11 585 4 13 2Used by:657
Symbol 587 MovieClip [mcDedo]Uses:359 580 11Used by:657
Symbol 588 GraphicUsed by:657
Symbol 589 GraphicUsed by:590
Symbol 590 MovieClipUses:589Used by:657 675
Symbol 591 GraphicUsed by:592
Symbol 592 MovieClipUses:591Used by:593 711
Symbol 593 MovieClip [mcCalaveraAmarilla]Uses:359 592 11 156 13 2 4Used by:657
Symbol 594 GraphicUsed by:595
Symbol 595 MovieClipUses:594Used by:596
Symbol 596 MovieClip [mcPinzas]Uses:359 595 11 4 13 2Used by:657
Symbol 597 GraphicUsed by:598
Symbol 598 MovieClipUses:597Used by:657
Symbol 599 GraphicUsed by:601
Symbol 600 GraphicUsed by:601
Symbol 601 MovieClipUses:599 600Used by:602
Symbol 602 MovieClip [mcCucharon]Uses:359 11 601 156 4 2 13Used by:657
Symbol 603 GraphicUsed by:604
Symbol 604 MovieClipUses:603Used by:608
Symbol 605 GraphicUsed by:606
Symbol 606 MovieClipUses:605Used by:607
Symbol 607 MovieClipUses:606Used by:608
Symbol 608 MovieClipUses:604 607Used by:657
Symbol 609 GraphicUsed by:610
Symbol 610 MovieClipUses:609Used by:611
Symbol 611 MovieClipUses:156 4 13 2 610 11Used by:657
Symbol 612 GraphicUsed by:613
Symbol 613 MovieClipUses:612Used by:614
Symbol 614 MovieClipUses:13 4 2 613 11Used by:657
Symbol 615 GraphicUsed by:616
Symbol 616 MovieClipUses:615Used by:617
Symbol 617 MovieClipUses:13 2 4 616Used by:657
Symbol 618 GraphicUsed by:622
Symbol 619 GraphicUsed by:622
Symbol 620 GraphicUsed by:622
Symbol 621 GraphicUsed by:622
Symbol 622 MovieClipUses:618 619 620 621Used by:623
Symbol 623 MovieClipUses:622Used by:624
Symbol 624 MovieClipUses:4 623Used by:657
Symbol 625 GraphicUsed by:646
Symbol 626 GraphicUsed by:646
Symbol 627 GraphicUsed by:646
Symbol 628 GraphicUsed by:646
Symbol 629 GraphicUsed by:646
Symbol 630 SoundUsed by:646
Symbol 631 GraphicUsed by:646
Symbol 632 GraphicUsed by:646
Symbol 633 GraphicUsed by:646
Symbol 634 GraphicUsed by:646
Symbol 635 GraphicUsed by:646
Symbol 636 GraphicUsed by:646
Symbol 637 GraphicUsed by:646
Symbol 638 GraphicUsed by:646
Symbol 639 GraphicUsed by:646
Symbol 640 GraphicUsed by:646
Symbol 641 GraphicUsed by:646
Symbol 642 GraphicUsed by:646
Symbol 643 GraphicUsed by:646
Symbol 644 GraphicUsed by:645 646
Symbol 645 MovieClipUses:644Used by:646
Symbol 646 MovieClipUses:625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645Used by:647
Symbol 647 MovieClipUses:646 4 11Used by:657
Symbol 648 GraphicUsed by:649
Symbol 649 MovieClipUses:648Used by:652
Symbol 650 GraphicUsed by:651
Symbol 651 MovieClipUses:650Used by:652
Symbol 652 MovieClipUses:649 651 156Used by:656
Symbol 653 MovieClipUses:456Used by:656
Symbol 654 GraphicUsed by:655
Symbol 655 MovieClipUses:654Used by:656
Symbol 656 MovieClip [mcBalde]Uses:359 652 11 4 653 2 655Used by:657
Symbol 657 MovieClipUses:556 558 560 564 566 567 570 577 578 586 587 588 590 593 596 598 602 608 611 614 617 507 624 647 353 656Used by:Timeline
Symbol 658 GraphicUsed by:659
Symbol 659 MovieClipUses:658Used by:670
Symbol 660 GraphicUsed by:661
Symbol 661 MovieClipUses:660Used by:670
Symbol 662 GraphicUsed by:665
Symbol 663 GraphicUsed by:665
Symbol 664 GraphicUsed by:665
Symbol 665 MovieClipUses:662 663 664Used by:666
Symbol 666 MovieClipUses:13 4 2 11 99 665Used by:670
Symbol 667 GraphicUsed by:668
Symbol 668 MovieClipUses:667Used by:669 1167
Symbol 669 MovieClipUses:13 4 2 11 99 668Used by:670
Symbol 670 MovieClipUses:513 659 661 520 353 530 404 553 165 666 669Used by:Timeline
Symbol 671 GraphicUsed by:672
Symbol 672 MovieClipUses:671Used by:801
Symbol 673 GraphicUsed by:674
Symbol 674 MovieClipUses:673Used by:675
Symbol 675 MovieClipUses:674 590Used by:801
Symbol 676 GraphicUsed by:677
Symbol 677 MovieClipUses:676Used by:801
Symbol 678 GraphicUsed by:687
Symbol 679 GraphicUsed by:680
Symbol 680 MovieClipUses:679Used by:687
Symbol 681 GraphicUsed by:686
Symbol 682 GraphicUsed by:686
Symbol 683 SoundUsed by:686
Symbol 684 GraphicUsed by:686
Symbol 685 GraphicUsed by:686
Symbol 686 MovieClipUses:681 682 683 684 685Used by:687
Symbol 687 MovieClipUses:678 680 13 4 11 686Used by:801
Symbol 688 GraphicUsed by:689
Symbol 689 MovieClipUses:688Used by:690
Symbol 690 MovieClipUses:689Used by:695
Symbol 691 GraphicUsed by:692
Symbol 692 MovieClipUses:691Used by:695 712 726 794 796
Symbol 693 GraphicUsed by:694
Symbol 694 MovieClipUses:693Used by:695
Symbol 695 MovieClipUses:13 690 692 4 11 694Used by:801
Symbol 696 GraphicUsed by:697
Symbol 697 MovieClipUses:696Used by:698
Symbol 698 MovieClip [mcTinta]Uses:359 697 11 2 4 13Used by:801
Symbol 699 GraphicUsed by:711
Symbol 700 GraphicUsed by:711
Symbol 701 SoundUsed by:711 725
Symbol 702 GraphicUsed by:711
Symbol 703 GraphicUsed by:711
Symbol 704 GraphicUsed by:711
Symbol 705 GraphicUsed by:711
Symbol 706 GraphicUsed by:711
Symbol 707 GraphicUsed by:711
Symbol 708 GraphicUsed by:711
Symbol 709 GraphicUsed by:711
Symbol 710 GraphicUsed by:711
Symbol 711 MovieClipUses:699 700 701 702 703 704 705 706 707 708 592 709 710Used by:712
Symbol 712 MovieClipUses:13 692 4 11 711Used by:801
Symbol 713 GraphicUsed by:725
Symbol 714 GraphicUsed by:725
Symbol 715 GraphicUsed by:725
Symbol 716 GraphicUsed by:725
Symbol 717 GraphicUsed by:725
Symbol 718 GraphicUsed by:725
Symbol 719 GraphicUsed by:722
Symbol 720 GraphicUsed by:722
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClipUses:719 720 721Used by:725 794
Symbol 723 GraphicUsed by:725
Symbol 724 GraphicUsed by:725
Symbol 725 MovieClipUses:713 701 714 715 716 717 718 722 723 724Used by:726
Symbol 726 MovieClipUses:13 692 4 11 725Used by:801
Symbol 727 GraphicUsed by:728
Symbol 728 MovieClipUses:727Used by:761
Symbol 729 GraphicUsed by:738
Symbol 730 TextUses:40Used by:738
Symbol 731 TextUses:40Used by:738
Symbol 732 TextUses:40Used by:738
Symbol 733 TextUses:40Used by:738
Symbol 734 TextUses:43Used by:738
Symbol 735 TextUses:40Used by:738
Symbol 736 BitmapUsed by:737
Symbol 737 GraphicUses:736Used by:738
Symbol 738 MovieClipUses:729 730 731 732 733 734 735 737Used by:761
Symbol 739 GraphicUsed by:740
Symbol 740 MovieClipUses:739Used by:761
Symbol 741 GraphicUsed by:742
Symbol 742 MovieClipUses:741Used by:761
Symbol 743 GraphicUsed by:761
Symbol 744 GraphicUsed by:761
Symbol 745 GraphicUsed by:761
Symbol 746 GraphicUsed by:761
Symbol 747 GraphicUsed by:761
Symbol 748 GraphicUsed by:761
Symbol 749 GraphicUsed by:761
Symbol 750 GraphicUsed by:761
Symbol 751 GraphicUsed by:761
Symbol 752 GraphicUsed by:761
Symbol 753 GraphicUsed by:761
Symbol 754 GraphicUsed by:761
Symbol 755 GraphicUsed by:761
Symbol 756 GraphicUsed by:761
Symbol 757 GraphicUsed by:761
Symbol 758 GraphicUsed by:761
Symbol 759 GraphicUsed by:761
Symbol 760 GraphicUsed by:761
Symbol 761 MovieClipUses:728 738 740 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760Used by:764 1144
Symbol 762 GraphicUsed by:763
Symbol 763 MovieClipUses:762Used by:764
Symbol 764 MovieClip [mcPergamino]Uses:359 761 11 4 13 2 763Used by:801
Symbol 765 GraphicUsed by:801
Symbol 766 GraphicUsed by:767
Symbol 767 MovieClipUses:766Used by:770
Symbol 768 GraphicUsed by:769
Symbol 769 MovieClipUses:768Used by:770
Symbol 770 MovieClip [mcEscoba]Uses:359 11 271 2 13 4 767 769 156Used by:801
Symbol 771 GraphicUsed by:772
Symbol 772 MovieClipUses:771Used by:777
Symbol 773 GraphicUsed by:774
Symbol 774 MovieClipUses:773Used by:777
Symbol 775 GraphicUsed by:776
Symbol 776 MovieClipUses:775Used by:777
Symbol 777 MovieClip [mcHammer]Uses:359 11 772 774 13 776 4Used by:801
Symbol 778 GraphicUsed by:779
Symbol 779 MovieClipUses:778Used by:784
Symbol 780 GraphicUsed by:781
Symbol 781 MovieClipUses:780Used by:784
Symbol 782 GraphicUsed by:783
Symbol 783 MovieClipUses:782Used by:784
Symbol 784 MovieClipUses:779 13 781 783 4 11Used by:801
Symbol 785 GraphicUsed by:801
Symbol 786 GraphicUsed by:787
Symbol 787 MovieClipUses:786Used by:790
Symbol 788 GraphicUsed by:789
Symbol 789 MovieClipUses:788Used by:790
Symbol 790 MovieClip [mcVarita]Uses:359 11 787 4 2 13 789Used by:801
Symbol 791 GraphicUsed by:792
Symbol 792 MovieClipUses:791Used by:793
Symbol 793 MovieClipUses:4 13 792 11Used by:801
Symbol 794 MovieClip [mcChocoFrog]Uses:359 11 722 13 692 4Used by:801
Symbol 795 MovieClip [mcLionShield]Uses:359 11 322 13 2 4Used by:801
Symbol 796 MovieClip [mcBludger]Uses:359 463 11 13 692 4Used by:801
Symbol 797 GraphicUsed by:798
Symbol 798 MovieClipUses:797Used by:800
Symbol 799 GraphicUsed by:800
Symbol 800 MovieClip [mcCapa]Uses:359 11 798 4 2 13 799Used by:801
Symbol 801 MovieClipUses:672 675 677 687 695 698 712 155 165 726 764 765 770 777 784 785 790 793 794 353 507 795 796 800Used by:Timeline
Symbol 802 TextUses:40Used by:841
Symbol 803 GraphicUsed by:806
Symbol 804 TextUses:40Used by:806
Symbol 805 TextUses:40Used by:806
Symbol 806 MovieClipUses:803 804 805Used by:841
Symbol 807 GraphicUsed by:808
Symbol 808 MovieClipUses:807Used by:809
Symbol 809 MovieClipUses:13 2 4 808Used by:841
Symbol 810 GraphicUsed by:811
Symbol 811 MovieClipUses:810Used by:814
Symbol 812 GraphicUsed by:813
Symbol 813 MovieClipUses:812Used by:814
Symbol 814 MovieClipUses:811 813Used by:841
Symbol 815 GraphicUsed by:816
Symbol 816 MovieClipUses:815Used by:817
Symbol 817 MovieClipUses:4 2 816 11 13Used by:841
Symbol 818 MovieClipUses:358Used by:826
Symbol 819 GraphicUsed by:823
Symbol 820 GraphicUsed by:823
Symbol 821 GraphicUsed by:823
Symbol 822 GraphicUsed by:823
Symbol 823 MovieClipUses:819 820 821 822Used by:826
Symbol 824 GraphicUsed by:825
Symbol 825 MovieClipUses:824Used by:826
Symbol 826 MovieClip [mcLibro]Uses:818 823 11 13 4 825Used by:841
Symbol 827 GraphicUsed by:829
Symbol 828 GraphicUsed by:829
Symbol 829 MovieClipUses:827 828Used by:840
Symbol 830 GraphicUsed by:831
Symbol 831 MovieClipUses:830Used by:832
Symbol 832 MovieClipUses:831Used by:840
Symbol 833 GraphicUsed by:838
Symbol 834 GraphicUsed by:838
Symbol 835 Sound [door_open]Used by:838
Symbol 836 GraphicUsed by:838
Symbol 837 GraphicUsed by:838
Symbol 838 MovieClipUses:833 834 835 836 837Used by:840
Symbol 839 MovieClipUses:4Used by:840
Symbol 840 MovieClipUses:829 832 13 838 839Used by:841
Symbol 841 MovieClipUses:513 802 806 515 155 809 814 817 826 520 404 840 353 165Used by:Timeline
Symbol 842 GraphicUsed by:843
Symbol 843 MovieClipUses:842Used by:844
Symbol 844 MovieClipUses:156 2 4 13 843 11Used by:845
Symbol 845 MovieClipUses:513 515 520 404 353 844Used by:Timeline
Symbol 846 GraphicUsed by:870
Symbol 847 GraphicUsed by:862
Symbol 848 GraphicUsed by:862
Symbol 849 GraphicUsed by:862
Symbol 850 GraphicUsed by:862
Symbol 851 GraphicUsed by:862
Symbol 852 SoundUsed by:862
Symbol 853 GraphicUsed by:862
Symbol 854 GraphicUsed by:862
Symbol 855 GraphicUsed by:858
Symbol 856 GraphicUsed by:857
Symbol 857 MovieClipUses:856Used by:858
Symbol 858 MovieClipUses:855 99 175 191 193 857Used by:862
Symbol 859 GraphicUsed by:860
Symbol 860 MovieClipUses:859Used by:862
Symbol 861 GraphicUsed by:862
Symbol 862 MovieClipUses:847 848 849 850 851 852 853 854 858 860 861Used by:863 1164
Symbol 863 MovieClipUses:2 4 13 156 862 11Used by:870
Symbol 864 GraphicUsed by:865
Symbol 865 MovieClipUses:864Used by:866
Symbol 866 MovieClipUses:156 13 4 2 865 11Used by:870
Symbol 867 GraphicUsed by:868
Symbol 868 MovieClipUses:867Used by:869
Symbol 869 MovieClip [mcPeloUnicornio]Uses:359 11 868Used by:870
Symbol 870 MovieClipUses:846 468 863 507 866 165 869 155 353Used by:Timeline
Symbol 871 GraphicUsed by:872
Symbol 872 MovieClipUses:871 322Used by:873
Symbol 873 MovieClipUses:2 11 99 4 872 13Used by:874
Symbol 874 MovieClipUses:513 515 520 530 404 873 165 155 553 353Used by:Timeline
Symbol 875 MovieClipUses:513 515 520 404 353Used by:Timeline
Symbol 876 GraphicUsed by:946
Symbol 877 TextUses:40Used by:880
Symbol 878 TextUses:40Used by:880
Symbol 879 TextUses:40Used by:880
Symbol 880 MovieClipUses:877 878 879Used by:946
Symbol 881 TextUses:40Used by:884
Symbol 882 TextUses:40Used by:884
Symbol 883 TextUses:40Used by:884
Symbol 884 MovieClipUses:881 882 883Used by:946
Symbol 885 TextUses:40Used by:888
Symbol 886 TextUses:40Used by:888
Symbol 887 TextUses:40Used by:888
Symbol 888 MovieClipUses:885 886 887Used by:946
Symbol 889 TextUses:40Used by:890
Symbol 890 MovieClipUses:889Used by:946
Symbol 891 TextUses:40Used by:894
Symbol 892 TextUses:40Used by:894
Symbol 893 TextUses:40Used by:894
Symbol 894 MovieClipUses:891 892 893Used by:946
Symbol 895 TextUses:40Used by:898
Symbol 896 TextUses:40Used by:898
Symbol 897 TextUses:40Used by:898
Symbol 898 MovieClipUses:895 896 897Used by:946
Symbol 899 TextUses:40Used by:902
Symbol 900 TextUses:40Used by:902
Symbol 901 TextUses:40Used by:902
Symbol 902 MovieClipUses:899 900 901Used by:946
Symbol 903 TextUses:40Used by:906
Symbol 904 TextUses:40Used by:906
Symbol 905 TextUses:40Used by:906
Symbol 906 MovieClipUses:903 904 905Used by:946
Symbol 907 TextUses:40Used by:910
Symbol 908 TextUses:40Used by:910
Symbol 909 TextUses:40Used by:910
Symbol 910 MovieClipUses:907 908 909Used by:946
Symbol 911 TextUses:40Used by:914
Symbol 912 TextUses:40Used by:914
Symbol 913 TextUses:40Used by:914
Symbol 914 MovieClipUses:911 912 913Used by:946
Symbol 915 TextUses:40Used by:918
Symbol 916 TextUses:40Used by:918
Symbol 917 TextUses:40Used by:918
Symbol 918 MovieClipUses:915 916 917Used by:946
Symbol 919 TextUses:40Used by:922
Symbol 920 TextUses:40Used by:922
Symbol 921 TextUses:40Used by:922
Symbol 922 MovieClipUses:919 920 921Used by:946
Symbol 923 TextUses:40Used by:926
Symbol 924 TextUses:40Used by:926
Symbol 925 TextUses:40Used by:926
Symbol 926 MovieClipUses:923 924 925Used by:946
Symbol 927 TextUses:40Used by:929
Symbol 928 TextUses:40Used by:929
Symbol 929 MovieClipUses:927 928Used by:946
Symbol 930 TextUses:40Used by:931
Symbol 931 MovieClipUses:930Used by:946
Symbol 932 GraphicUsed by:933 934 935 936 937 938 939 940 941 942 943 944 945
Symbol 933 ButtonUses:932Used by:946
Symbol 934 ButtonUses:932Used by:946
Symbol 935 ButtonUses:932Used by:946
Symbol 936 ButtonUses:932Used by:946
Symbol 937 ButtonUses:932Used by:946
Symbol 938 ButtonUses:932Used by:946
Symbol 939 ButtonUses:932Used by:946
Symbol 940 ButtonUses:932Used by:946
Symbol 941 ButtonUses:932Used by:946
Symbol 942 ButtonUses:932Used by:946
Symbol 943 ButtonUses:932Used by:946
Symbol 944 ButtonUses:932Used by:946
Symbol 945 ButtonUses:932Used by:946
Symbol 946 MovieClipUses:876 880 884 888 890 894 898 902 906 910 914 918 922 926 929 931 933 934 935 936 937 938 939 940 941 942 943 944 945Used by:Timeline
Symbol 947 GraphicUsed by:948
Symbol 948 MovieClipUses:947Used by:955
Symbol 949 GraphicUsed by:950
Symbol 950 MovieClipUses:949Used by:951
Symbol 951 MovieClipUses:950Used by:955
Symbol 952 GraphicUsed by:953
Symbol 953 MovieClipUses:952Used by:954
Symbol 954 MovieClipUses:953Used by:955
Symbol 955 MovieClipUses:948 951 954Used by:Timeline
Symbol 956 GraphicUsed by:957
Symbol 957 MovieClipUses:956Used by:993
Symbol 958 GraphicUsed by:959
Symbol 959 MovieClipUses:958Used by:993
Symbol 960 FontUsed by:961 962 963 964 965 973 974 975 979 1019 1026 1218
Symbol 961 EditableTextUses:960Used by:966
Symbol 962 EditableTextUses:960Used by:966
Symbol 963 EditableTextUses:960Used by:966
Symbol 964 EditableTextUses:960Used by:966
Symbol 965 EditableTextUses:960Used by:966
Symbol 966 MovieClipUses:961 962 963 964 965Used by:993
Symbol 967 GraphicUsed by:972
Symbol 968 GraphicUsed by:972
Symbol 969 GraphicUsed by:972
Symbol 970 GraphicUsed by:972
Symbol 971 GraphicUsed by:972
Symbol 972 ButtonUses:967 968 969 970 971Used by:993
Symbol 973 TextUses:960Used by:977
Symbol 974 TextUses:960Used by:977
Symbol 975 TextUses:960Used by:977
Symbol 976 GraphicUsed by:977
Symbol 977 ButtonUses:973 974 975 976Used by:993
Symbol 978 FontUsed by:979 980 1191 1194 1229 1319 1320 1321 1324 1325 1326 1339 1340 1341 1359 1360 1361 1411 1414 1417 1418 1423 1425 1426 1427 1431 1432 1433 1436 1437 1438 1494 1496 1497
Symbol 979 TextUses:960 978Used by:981
Symbol 980 TextUses:978Used by:981
Symbol 981 MovieClipUses:979 980Used by:993
Symbol 982 FontUsed by:983 984 985 988 989 990 1404 1405
Symbol 983 TextUses:982Used by:987
Symbol 984 TextUses:982Used by:987
Symbol 985 TextUses:982Used by:987
Symbol 986 GraphicUsed by:987
Symbol 987 ButtonUses:983 984 985 986Used by:993
Symbol 988 TextUses:982Used by:992
Symbol 989 TextUses:982Used by:992
Symbol 990 TextUses:982Used by:992
Symbol 991 GraphicUsed by:992
Symbol 992 ButtonUses:988 989 990 991Used by:993
Symbol 993 MovieClip [mcDialogWindow]Uses:957 959 966 972 977 981 987 992Used by:Timeline
Symbol 994 GraphicUsed by:998
Symbol 995 GraphicUsed by:998
Symbol 996 GraphicUsed by:998
Symbol 997 GraphicUsed by:998
Symbol 998 ButtonUses:994 995 996 997Used by:1011
Symbol 999 GraphicUsed by:1003
Symbol 1000 GraphicUsed by:1003
Symbol 1001 GraphicUsed by:1003
Symbol 1002 GraphicUsed by:1003
Symbol 1003 ButtonUses:999 1000 1001 1002Used by:1011
Symbol 1004 GraphicUsed by:1008
Symbol 1005 GraphicUsed by:1008
Symbol 1006 GraphicUsed by:1008
Symbol 1007 GraphicUsed by:1008
Symbol 1008 ButtonUses:1004 1005 1006 1007Used by:1011
Symbol 1009 GraphicUsed by:1010
Symbol 1010 MovieClipUses:1009Used by:1011 1018
Symbol 1011 MovieClipUses:998 1003 1008 1010Used by:Timeline
Symbol 1012 GraphicUsed by:1013
Symbol 1013 MovieClipUses:1012Used by:1018
Symbol 1014 EditableTextUses:20Used by:1017
Symbol 1015 EditableTextUses:20Used by:1017
Symbol 1016 EditableTextUses:20Used by:1017
Symbol 1017 MovieClipUses:1014 1015 1016Used by:1018
Symbol 1018 MovieClipUses:1010 1013 1017Used by:Timeline
Symbol 1019 EditableTextUses:960Used by:1020
Symbol 1020 MovieClipUses:1019Used by:Timeline
Symbol 1021 EditableTextUses:29Used by:Timeline
Symbol 1022 GraphicUsed by:1023
Symbol 1023 MovieClipUses:1022Used by:1027
Symbol 1024 GraphicUsed by:1025
Symbol 1025 MovieClipUses:1024Used by:1027
Symbol 1026 EditableTextUses:960Used by:1027
Symbol 1027 MovieClipUses:1023 1025 1026Used by:Timeline
Symbol 1028 GraphicUsed by:1029
Symbol 1029 MovieClipUses:1028Used by:Timeline
Symbol 1030 BitmapUsed by:1031
Symbol 1031 GraphicUses:1030Used by:1059 1074 1090 1118
Symbol 1032 FontUsed by:1033 1036 1060 1062 1075 1077 1091 1093
Symbol 1033 TextUses:1032Used by:1037
Symbol 1034 FontUsed by:1035 1061 1063 1066 1076 1078 1092 1094
Symbol 1035 TextUses:1034Used by:1037
Symbol 1036 TextUses:1032Used by:1037
Symbol 1037 MovieClipUses:1033 1035 1036Used by:1059
Symbol 1038 TextUses:40Used by:1042
Symbol 1039 TextUses:40Used by:1042
Symbol 1040 TextUses:40Used by:1042
Symbol 1041 GraphicUsed by:1042 1046
Symbol 1042 ButtonUses:1038 1039 1040 1041Used by:1059 1074 1090 1118
Symbol 1043 TextUses:40Used by:1046
Symbol 1044 TextUses:40Used by:1046
Symbol 1045 TextUses:40Used by:1046
Symbol 1046 ButtonUses:1043 1044 1045 1041Used by:1059 1074 1090 1118
Symbol 1047 GraphicUsed by:1048 1053 1054 1058 1065 1069 1070 1080 1085 1086 1096 1103 1104 1110 1111 1117
Symbol 1048 ButtonUses:1047Used by:1059
Symbol 1049 FontUsed by:1050 1051 1055 1056 1066 1067 1071 1072 1082 1083 1087 1088 1097 1100 1105 1107 1112 1114
Symbol 1050 TextUses:1049Used by:1052
Symbol 1051 TextUses:1049Used by:1052
Symbol 1052 MovieClipUses:1050 1051Used by:1059
Symbol 1053 ButtonUses:1047Used by:1059
Symbol 1054 ButtonUses:1047Used by:1059
Symbol 1055 TextUses:1049Used by:1057
Symbol 1056 TextUses:1049Used by:1057
Symbol 1057 MovieClipUses:1055 1056Used by:1059
Symbol 1058 ButtonUses:1047Used by:1059
Symbol 1059 MovieClipUses:1031 1037 1042 1046 1048 1052 1053 1054 1057 1058Used by:Timeline
Symbol 1060 TextUses:1032Used by:1064
Symbol 1061 TextUses:1034Used by:1064
Symbol 1062 TextUses:1032Used by:1064
Symbol 1063 TextUses:1034Used by:1064
Symbol 1064 MovieClipUses:1060 1061 1062 1063Used by:1074
Symbol 1065 ButtonUses:1047Used by:1074
Symbol 1066 TextUses:1034 1049Used by:1068
Symbol 1067 TextUses:1049Used by:1068
Symbol 1068 MovieClipUses:1066 1067Used by:1074
Symbol 1069 ButtonUses:1047Used by:1074
Symbol 1070 ButtonUses:1047Used by:1074
Symbol 1071 TextUses:1049Used by:1073
Symbol 1072 TextUses:1049Used by:1073
Symbol 1073 MovieClipUses:1071 1072Used by:1074
Symbol 1074 MovieClipUses:1031 1064 1042 1046 1065 1068 1069 1070 1073Used by:Timeline
Symbol 1075 TextUses:1032Used by:1079
Symbol 1076 TextUses:1034Used by:1079
Symbol 1077 TextUses:1032Used by:1079
Symbol 1078 TextUses:1034Used by:1079
Symbol 1079 MovieClipUses:1075 1076 1077 1078Used by:1090
Symbol 1080 ButtonUses:1047Used by:1090
Symbol 1081 FontUsed by:1082 1083 1087 1088
Symbol 1082 TextUses:1049 1081Used by:1084
Symbol 1083 TextUses:1049 1081Used by:1084
Symbol 1084 MovieClipUses:1082 1083Used by:1090
Symbol 1085 ButtonUses:1047Used by:1090
Symbol 1086 ButtonUses:1047Used by:1090
Symbol 1087 TextUses:1049 1081Used by:1089
Symbol 1088 TextUses:1049 1081Used by:1089
Symbol 1089 MovieClipUses:1087 1088Used by:1090
Symbol 1090 MovieClipUses:1031 1079 1042 1046 1080 1084 1085 1086 1089 576Used by:Timeline
Symbol 1091 TextUses:1032Used by:1095
Symbol 1092 TextUses:1034Used by:1095
Symbol 1093 TextUses:1032Used by:1095
Symbol 1094 TextUses:1034Used by:1095
Symbol 1095 MovieClipUses:1091 1092 1093 1094Used by:1118
Symbol 1096 ButtonUses:1047Used by:1118
Symbol 1097 TextUses:1049Used by:1102
Symbol 1098 FontUsed by:1099 1101 1106 1108 1113 1115
Symbol 1099 TextUses:1098Used by:1102
Symbol 1100 TextUses:1049Used by:1102
Symbol 1101 TextUses:1098Used by:1102
Symbol 1102 MovieClipUses:1097 1099 1100 1101Used by:1118
Symbol 1103 ButtonUses:1047Used by:1118
Symbol 1104 ButtonUses:1047Used by:1118
Symbol 1105 TextUses:1049Used by:1109
Symbol 1106 TextUses:1098Used by:1109
Symbol 1107 TextUses:1049Used by:1109
Symbol 1108 TextUses:1098Used by:1109
Symbol 1109 MovieClipUses:1105 1106 1107 1108Used by:1118
Symbol 1110 ButtonUses:1047Used by:1118
Symbol 1111 ButtonUses:1047Used by:1118
Symbol 1112 TextUses:1049Used by:1116
Symbol 1113 TextUses:1098Used by:1116
Symbol 1114 TextUses:1049Used by:1116
Symbol 1115 TextUses:1098Used by:1116
Symbol 1116 MovieClipUses:1112 1113 1114 1115Used by:1118
Symbol 1117 ButtonUses:1047Used by:1118
Symbol 1118 MovieClipUses:1031 1095 1042 1046 1096 1102 1103 1104 1109 1110 1111 1116 1117Used by:Timeline
Symbol 1119 GraphicUsed by:1132
Symbol 1120 TextUses:40Used by:1132
Symbol 1121 FontUsed by:1122 1123 1124 1127 1128 1129
Symbol 1122 TextUses:1121Used by:1126
Symbol 1123 TextUses:1121Used by:1126
Symbol 1124 TextUses:1121Used by:1126
Symbol 1125 GraphicUsed by:1126
Symbol 1126 ButtonUses:1122 1123 1124 1125Used by:1132 1167
Symbol 1127 TextUses:1121Used by:1131
Symbol 1128 TextUses:1121Used by:1131
Symbol 1129 TextUses:1121Used by:1131
Symbol 1130 GraphicUsed by:1131
Symbol 1131 ButtonUses:1127 1128 1129 1130Used by:1132 1167
Symbol 1132 MovieClipUses:1119 1120 1126 1131Used by:Timeline
Symbol 1133 FontUsed by:1134 1135 1136 1139 1140 1141 1295 1296 1297 1300 1301 1302 1329 1330 1331 1334 1335 1336 1349 1350 1351 1354 1355 1356 1384 1386 1387 1388 1389 1392 1393 1394 1395 1396 1397 1399
Symbol 1134 TextUses:1133Used by:1138
Symbol 1135 TextUses:1133Used by:1138
Symbol 1136 TextUses:1133Used by:1138
Symbol 1137 GraphicUsed by:1138
Symbol 1138 ButtonUses:1134 1135 1136 1137Used by:1144
Symbol 1139 TextUses:1133Used by:1143
Symbol 1140 TextUses:1133Used by:1143
Symbol 1141 TextUses:1133Used by:1143
Symbol 1142 GraphicUsed by:1143
Symbol 1143 ButtonUses:1139 1140 1141 1142Used by:1144
Symbol 1144 MovieClipUses:1138 1143 761Used by:Timeline
Symbol 1145 GraphicUsed by:1162
Symbol 1146 FontUsed by:1147 1149 1195 1196 1197 1200 1201 1202 1205 1207 1209 1213 1214 1215 1219 1220 1221 1224 1225 1226 1230 1231 1232 1235 1236 1237 1240 1241 1242 1245 1247 1249 1263 1265 1343 1344 1345 1364 1365 1366 1369 1378 1381 1408 1409 1483 1486
Symbol 1147 TextUses:1146Used by:1150
Symbol 1148 GraphicUsed by:1150
Symbol 1149 TextUses:1146Used by:1150
Symbol 1150 MovieClipUses:1147 1148 1149Used by:1162
Symbol 1151 FontUsed by:1152 1153 1154 1157 1158 1159
Symbol 1152 TextUses:1151Used by:1156
Symbol 1153 TextUses:1151Used by:1156
Symbol 1154 TextUses:1151Used by:1156
Symbol 1155 GraphicUsed by:1156
Symbol 1156 ButtonUses:1152 1153 1154 1155Used by:1162
Symbol 1157 TextUses:1151Used by:1161
Symbol 1158 TextUses:1151Used by:1161
Symbol 1159 TextUses:1151Used by:1161
Symbol 1160 GraphicUsed by:1161
Symbol 1161 ButtonUses:1157 1158 1159 1160Used by:1162
Symbol 1162 MovieClipUses:1145 264 1150 1156 1161Used by:Timeline
Symbol 1163 GraphicUsed by:1164
Symbol 1164 MovieClipUses:1163 862Used by:Timeline
Symbol 1165 GraphicUsed by:1167
Symbol 1166 GraphicUsed by:1167
Symbol 1167 MovieClipUses:513 99 1165 668 1166 1126 1131Used by:Timeline
Symbol 1168 MovieClipUses:358Used by:1171
Symbol 1169 FontUsed by:1170
Symbol 1170 EditableTextUses:1169Used by:1171
Symbol 1171 MovieClipUses:1168 1170Used by:Timeline
Symbol 1172 FontUsed by:1173 1175 1179 1180 1181 1184 1185 1186 1254 1255 1256 1259
Symbol 1173 TextUses:1172Used by:1174
Symbol 1174 MovieClipUses:1173Used by:Timeline
Symbol 1175 TextUses:1172Used by:1176
Symbol 1176 MovieClipUses:1175Used by:Timeline
Symbol 1177 GraphicUsed by:1178
Symbol 1178 MovieClipUses:1177Used by:Timeline
Symbol 1179 TextUses:1172Used by:1183
Symbol 1180 TextUses:1172Used by:1183
Symbol 1181 TextUses:1172Used by:1183
Symbol 1182 GraphicUsed by:1183
Symbol 1183 ButtonUses:1179 1180 1181 1182Used by:Timeline
Symbol 1184 TextUses:1172Used by:1188
Symbol 1185 TextUses:1172Used by:1188
Symbol 1186 TextUses:1172Used by:1188
Symbol 1187 GraphicUsed by:1188
Symbol 1188 ButtonUses:1184 1185 1186 1187Used by:Timeline
Symbol 1189 GraphicUsed by:1190
Symbol 1190 MovieClipUses:1189Used by:Timeline
Symbol 1191 TextUses:978Used by:1253
Symbol 1192 GraphicUsed by:1253
Symbol 1193 Font
Symbol 1194 EditableTextUses:978Used by:1253
Symbol 1195 TextUses:1146Used by:1199
Symbol 1196 TextUses:1146Used by:1199
Symbol 1197 TextUses:1146Used by:1199
Symbol 1198 GraphicUsed by:1199
Symbol 1199 ButtonUses:1195 1196 1197 1198Used by:1253
Symbol 1200 TextUses:1146Used by:1204
Symbol 1201 TextUses:1146Used by:1204
Symbol 1202 TextUses:1146Used by:1204
Symbol 1203 GraphicUsed by:1204
Symbol 1204 ButtonUses:1200 1201 1202 1203Used by:1253
Symbol 1205 TextUses:1146Used by:1212
Symbol 1206 GraphicUsed by:1212
Symbol 1207 TextUses:1146Used by:1212
Symbol 1208 GraphicUsed by:1212
Symbol 1209 TextUses:1146Used by:1212
Symbol 1210 GraphicUsed by:1212
Symbol 1211 GraphicUsed by:1212
Symbol 1212 ButtonUses:1205 1206 1207 1208 1209 1210 1211Used by:1253
Symbol 1213 TextUses:1146Used by:1217
Symbol 1214 TextUses:1146Used by:1217
Symbol 1215 TextUses:1146Used by:1217
Symbol 1216 GraphicUsed by:1217
Symbol 1217 ButtonUses:1213 1214 1215 1216Used by:1253
Symbol 1218 EditableTextUses:960Used by:1253
Symbol 1219 TextUses:1146Used by:1223
Symbol 1220 TextUses:1146Used by:1223
Symbol 1221 TextUses:1146Used by:1223
Symbol 1222 GraphicUsed by:1223
Symbol 1223 ButtonUses:1219 1220 1221 1222Used by:1253
Symbol 1224 TextUses:1146Used by:1228
Symbol 1225 TextUses:1146Used by:1228
Symbol 1226 TextUses:1146Used by:1228
Symbol 1227 GraphicUsed by:1228
Symbol 1228 ButtonUses:1224 1225 1226 1227Used by:1253
Symbol 1229 EditableTextUses:978Used by:1253
Symbol 1230 TextUses:1146Used by:1234
Symbol 1231 TextUses:1146Used by:1234
Symbol 1232 TextUses:1146Used by:1234
Symbol 1233 GraphicUsed by:1234
Symbol 1234 ButtonUses:1230 1231 1232 1233Used by:1253
Symbol 1235 TextUses:1146Used by:1239
Symbol 1236 TextUses:1146Used by:1239
Symbol 1237 TextUses:1146Used by:1239
Symbol 1238 GraphicUsed by:1239
Symbol 1239 ButtonUses:1235 1236 1237 1238Used by:1253
Symbol 1240 TextUses:1146Used by:1244
Symbol 1241 TextUses:1146Used by:1244
Symbol 1242 TextUses:1146Used by:1244
Symbol 1243 GraphicUsed by:1244
Symbol 1244 ButtonUses:1240 1241 1242 1243Used by:1253
Symbol 1245 TextUses:1146Used by:1252
Symbol 1246 GraphicUsed by:1252
Symbol 1247 TextUses:1146Used by:1252
Symbol 1248 GraphicUsed by:1252
Symbol 1249 TextUses:1146Used by:1252
Symbol 1250 GraphicUsed by:1252
Symbol 1251 GraphicUsed by:1252
Symbol 1252 ButtonUses:1245 1246 1247 1248 1249 1250 1251Used by:1253
Symbol 1253 MovieClipUses:1191 1192 1194 1199 1204 1212 1217 1218 1223 1228 1229 1234 1239 1244 1252Used by:Timeline
Symbol 1254 TextUses:1172Used by:1258
Symbol 1255 TextUses:1172Used by:1258
Symbol 1256 TextUses:1172Used by:1258
Symbol 1257 GraphicUsed by:1258
Symbol 1258 ButtonUses:1254 1255 1256 1257Used by:Timeline
Symbol 1259 TextUses:1172Used by:1261
Symbol 1260 GraphicUsed by:1261
Symbol 1261 ButtonUses:1259 1260Used by:Timeline
Symbol 1262 TextUses:20Used by:1270
Symbol 1263 TextUses:1146Used by:1266
Symbol 1264 GraphicUsed by:1266
Symbol 1265 TextUses:1146Used by:1266
Symbol 1266 MovieClipUses:1263 1264 1265Used by:1270
Symbol 1267 TextUses:40Used by:1269
Symbol 1268 TextUses:40Used by:1269
Symbol 1269 MovieClipUses:1267 1268Used by:1270
Symbol 1270 MovieClipUses:85 1262 1266 36 1269Used by:Timeline
Symbol 1271 GraphicUsed by:1272
Symbol 1272 ButtonUses:1271Used by:1275
Symbol 1273 TextUses:40Used by:1275
Symbol 1274 TextUses:40Used by:1275
Symbol 1275 MovieClipUses:1272 1273 1274Used by:Timeline
Symbol 1276 GraphicUsed by:1277
Symbol 1277 MovieClipUses:1276Used by:1283
Symbol 1278 FontUsed by:1279 1280
Symbol 1279 TextUses:1278Used by:1281
Symbol 1280 TextUses:1278Used by:1281
Symbol 1281 MovieClipUses:1279 1280Used by:1283
Symbol 1282 GraphicUsed by:1283
Symbol 1283 MovieClipUses:1277 1281 1282Used by:Timeline
Symbol 1284 GraphicUsed by:1290
Symbol 1285 GraphicUsed by:1286
Symbol 1286 MovieClipUses:1285Used by:1288 1292
Symbol 1287 GraphicUsed by:1288
Symbol 1288 MovieClipUses:1286 1287Used by:1290
Symbol 1289 GraphicUsed by:1290 1292
Symbol 1290 ButtonUses:1284 1288 1289Used by:1293
Symbol 1291 GraphicUsed by:1292
Symbol 1292 ButtonUses:1291 1286 1289Used by:1293
Symbol 1293 MovieClipUses:1290 1292Used by:Timeline
Symbol 1294 EditableTextUses:20Used by:Timeline
Symbol 1295 TextUses:1133Used by:1299 1348
Symbol 1296 TextUses:1133Used by:1299 1348
Symbol 1297 TextUses:1133Used by:1299 1348
Symbol 1298 GraphicUsed by:1299 1348
Symbol 1299 ButtonUses:1295 1296 1297 1298Used by:Timeline
Symbol 1300 TextUses:1133Used by:1304 1368
Symbol 1301 TextUses:1133Used by:1304 1368
Symbol 1302 TextUses:1133Used by:1304 1368
Symbol 1303 GraphicUsed by:1304 1368
Symbol 1304 ButtonUses:1300 1301 1302 1303Used by:Timeline
Symbol 1305 FontUsed by:1306 1309
Symbol 1306 TextUses:1305Used by:1308
Symbol 1307 GraphicUsed by:1308
Symbol 1308 ButtonUses:1306 1307Used by:Timeline
Symbol 1309 TextUses:1305Used by:1312
Symbol 1310 GraphicUsed by:1312
Symbol 1311 GraphicUsed by:1312
Symbol 1312 ButtonUses:1309 1310 1311Used by:Timeline
Symbol 1313 FontUsed by:1314 1315 1316 1317
Symbol 1314 TextUses:1313Used by:1318
Symbol 1315 TextUses:1313Used by:1318
Symbol 1316 TextUses:1313Used by:1318
Symbol 1317 TextUses:1313Used by:1318
Symbol 1318 MovieClipUses:1314 1315 1316 1317Used by:Timeline
Symbol 1319 TextUses:978Used by:1323
Symbol 1320 TextUses:978Used by:1323
Symbol 1321 TextUses:978Used by:1323
Symbol 1322 GraphicUsed by:1323
Symbol 1323 ButtonUses:1319 1320 1321 1322Used by:Timeline
Symbol 1324 TextUses:978Used by:1328
Symbol 1325 TextUses:978Used by:1328
Symbol 1326 TextUses:978Used by:1328
Symbol 1327 GraphicUsed by:1328
Symbol 1328 ButtonUses:1324 1325 1326 1327Used by:Timeline
Symbol 1329 TextUses:1133Used by:1333
Symbol 1330 TextUses:1133Used by:1333
Symbol 1331 TextUses:1133Used by:1333
Symbol 1332 GraphicUsed by:1333
Symbol 1333 ButtonUses:1329 1330 1331 1332Used by:Timeline
Symbol 1334 TextUses:1133Used by:1338 1402
Symbol 1335 TextUses:1133Used by:1338 1402
Symbol 1336 TextUses:1133Used by:1338 1402
Symbol 1337 GraphicUsed by:1338 1402
Symbol 1338 ButtonUses:1334 1335 1336 1337Used by:Timeline
Symbol 1339 TextUses:978Used by:1342
Symbol 1340 TextUses:978Used by:1342
Symbol 1341 TextUses:978Used by:1342
Symbol 1342 ButtonUses:1339 1340 1341 358Used by:Timeline
Symbol 1343 TextUses:1146Used by:1347 1444
Symbol 1344 TextUses:1146Used by:1347 1444
Symbol 1345 TextUses:1146Used by:1347 1444
Symbol 1346 GraphicUsed by:1347 1444
Symbol 1347 ButtonUses:1343 1344 1345 1346Used by:Timeline
Symbol 1348 ButtonUses:1295 1296 1297 1298Used by:Timeline
Symbol 1349 TextUses:1133Used by:1353
Symbol 1350 TextUses:1133Used by:1353
Symbol 1351 TextUses:1133Used by:1353
Symbol 1352 GraphicUsed by:1353
Symbol 1353 ButtonUses:1349 1350 1351 1352Used by:Timeline
Symbol 1354 TextUses:1133Used by:1358 1401
Symbol 1355 TextUses:1133Used by:1358 1401
Symbol 1356 TextUses:1133Used by:1358 1401
Symbol 1357 GraphicUsed by:1358 1401
Symbol 1358 ButtonUses:1354 1355 1356 1357Used by:Timeline
Symbol 1359 TextUses:978Used by:1363
Symbol 1360 TextUses:978Used by:1363
Symbol 1361 TextUses:978Used by:1363
Symbol 1362 GraphicUsed by:1363
Symbol 1363 ButtonUses:1359 1360 1361 1362Used by:Timeline
Symbol 1364 TextUses:1146Used by:1367 1445
Symbol 1365 TextUses:1146Used by:1367 1445
Symbol 1366 TextUses:1146Used by:1367 1445
Symbol 1367 ButtonUses:1364 1365 1366 358Used by:Timeline
Symbol 1368 ButtonUses:1300 1301 1302 1303Used by:Timeline
Symbol 1369 TextUses:1146Used by:1377
Symbol 1370 TextUses:20Used by:1377
Symbol 1371 TextUses:20Used by:1377
Symbol 1372 FontUsed by:1373 1376 1489 1490
Symbol 1373 TextUses:1372Used by:1377
Symbol 1374 TextUses:20Used by:1377
Symbol 1375 TextUses:20Used by:1377
Symbol 1376 TextUses:1372Used by:1377
Symbol 1377 MovieClipUses:1369 1370 1371 1373 1374 1375 1376Used by:Timeline
Symbol 1378 TextUses:1146Used by:1380
Symbol 1379 GraphicUsed by:1380
Symbol 1380 ButtonUses:1378 1379Used by:Timeline
Symbol 1381 TextUses:1146Used by:1383
Symbol 1382 GraphicUsed by:1383
Symbol 1383 ButtonUses:1381 1382Used by:Timeline
Symbol 1384 TextUses:1133Used by:1400
Symbol 1385 FontUsed by:1386 1387 1392
Symbol 1386 TextUses:1133 1385Used by:1400
Symbol 1387 TextUses:1133 1385Used by:1400
Symbol 1388 TextUses:1133Used by:1400
Symbol 1389 TextUses:1133Used by:1400
Symbol 1390 FontUsed by:1391 1398
Symbol 1391 TextUses:1390Used by:1400
Symbol 1392 TextUses:1133 1385Used by:1400
Symbol 1393 TextUses:1133Used by:1400
Symbol 1394 TextUses:1133Used by:1400
Symbol 1395 TextUses:1133Used by:1400
Symbol 1396 TextUses:1133Used by:1400
Symbol 1397 TextUses:1133Used by:1400
Symbol 1398 TextUses:1390Used by:1400
Symbol 1399 TextUses:1133Used by:1400
Symbol 1400 MovieClipUses:1384 1386 1387 1388 1389 1391 1392 1393 1394 1395 1396 1397 1398 1399Used by:Timeline
Symbol 1401 ButtonUses:1354 1355 1356 1357Used by:Timeline
Symbol 1402 ButtonUses:1334 1335 1336 1337Used by:Timeline
Symbol 1403 FontUsed by:1404
Symbol 1404 TextUses:1403 982Used by:1406
Symbol 1405 TextUses:982Used by:1406
Symbol 1406 MovieClipUses:1404 1405Used by:Timeline
Symbol 1407 FontUsed by:1408
Symbol 1408 TextUses:1146 1407Used by:1410
Symbol 1409 TextUses:1146Used by:1410
Symbol 1410 MovieClipUses:1408 1409Used by:Timeline
Symbol 1411 TextUses:978Used by:1429
Symbol 1412 BitmapUsed by:1413
Symbol 1413 GraphicUses:1412Used by:1424
Symbol 1414 TextUses:978Used by:1424
Symbol 1415 BitmapUsed by:1416
Symbol 1416 GraphicUses:1415Used by:1424
Symbol 1417 TextUses:978Used by:1424
Symbol 1418 TextUses:978Used by:1424
Symbol 1419 GraphicUsed by:1420
Symbol 1420 MovieClipUses:1419Used by:1424
Symbol 1421 GraphicUsed by:1422
Symbol 1422 MovieClipUses:1421Used by:1424
Symbol 1423 TextUses:978Used by:1424
Symbol 1424 MovieClipUses:1413 1414 1416 1417 1418 1420 1422 1423Used by:1429 1499
Symbol 1425 TextUses:978Used by:1429
Symbol 1426 TextUses:978Used by:1429
Symbol 1427 TextUses:978Used by:1429
Symbol 1428 GraphicUsed by:1429
Symbol 1429 ButtonUses:1411 1424 1425 1426 1427 1428Used by:Timeline
Symbol 1430 EditableTextUses:20Used by:Timeline
Symbol 1431 TextUses:978Used by:1435
Symbol 1432 TextUses:978Used by:1435
Symbol 1433 TextUses:978Used by:1435
Symbol 1434 GraphicUsed by:1435
Symbol 1435 ButtonUses:1431 1432 1433 1434Used by:1441
Symbol 1436 TextUses:978Used by:1440
Symbol 1437 TextUses:978Used by:1440
Symbol 1438 TextUses:978Used by:1440
Symbol 1439 GraphicUsed by:1440
Symbol 1440 ButtonUses:1436 1437 1438 1439Used by:1441
Symbol 1441 MovieClipUses:1435 1440Used by:Timeline
Symbol 1442 FontUsed by:1443 1493
Symbol 1443 EditableTextUses:1442Used by:Timeline
Symbol 1444 ButtonUses:1343 1344 1345 1346Used by:Timeline
Symbol 1445 ButtonUses:1364 1365 1366 358Used by:Timeline
Symbol 1446 GraphicUsed by:1456
Symbol 1447 GraphicUsed by:1456
Symbol 1448 GraphicUsed by:1456
Symbol 1449 FontUsed by:1450 1453 1455
Symbol 1450 TextUses:1449Used by:1456
Symbol 1451 GraphicUsed by:1456
Symbol 1452 GraphicUsed by:1456
Symbol 1453 TextUses:1449Used by:1456
Symbol 1454 GraphicUsed by:1456
Symbol 1455 TextUses:1449Used by:1456
Symbol 1456 ButtonUses:1446 1447 1448 1450 1451 1452 1453 1454 1455Used by:Timeline
Symbol 1457 BitmapUsed by:1458
Symbol 1458 GraphicUses:1457Used by:1459
Symbol 1459 MovieClipUses:1458Used by:Timeline
Symbol 1460 FontUsed by:1461 1469 1470 1471 1472 1473 1474 1476 1477 1478 1479 1480 1481 1491
Symbol 1461 EditableTextUses:1460Used by:Timeline
Symbol 1462 FontUsed by:1463 1464 1465 1466 1467
Symbol 1463 EditableTextUses:1462Used by:Timeline
Symbol 1464 EditableTextUses:1462Used by:Timeline
Symbol 1465 EditableTextUses:1462Used by:Timeline
Symbol 1466 EditableTextUses:1462Used by:Timeline
Symbol 1467 EditableTextUses:1462Used by:Timeline
Symbol 1468 TextUses:20Used by:1482
Symbol 1469 TextUses:1460Used by:1482
Symbol 1470 TextUses:1460Used by:1482
Symbol 1471 TextUses:1460Used by:1482
Symbol 1472 TextUses:1460Used by:1482
Symbol 1473 TextUses:1460Used by:1482
Symbol 1474 TextUses:1460Used by:1482
Symbol 1475 TextUses:20Used by:1482
Symbol 1476 TextUses:1460Used by:1482
Symbol 1477 TextUses:1460Used by:1482
Symbol 1478 TextUses:1460Used by:1482
Symbol 1479 TextUses:1460Used by:1482
Symbol 1480 TextUses:1460Used by:1482
Symbol 1481 TextUses:1460Used by:1482
Symbol 1482 MovieClipUses:1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481Used by:Timeline
Symbol 1483 TextUses:1146Used by:1485
Symbol 1484 GraphicUsed by:1485
Symbol 1485 ButtonUses:1483 1484Used by:Timeline
Symbol 1486 TextUses:1146Used by:1488
Symbol 1487 GraphicUsed by:1488
Symbol 1488 ButtonUses:1486 1487Used by:Timeline
Symbol 1489 EditableTextUses:1372Used by:Timeline
Symbol 1490 EditableTextUses:1372Used by:Timeline
Symbol 1491 EditableTextUses:1460Used by:Timeline
Symbol 1492 EditableTextUses:20Used by:Timeline
Symbol 1493 EditableTextUses:1442Used by:Timeline
Symbol 1494 TextUses:978Used by:1499
Symbol 1495 GraphicUsed by:1499
Symbol 1496 TextUses:978Used by:1499
Symbol 1497 TextUses:978Used by:1499
Symbol 1498 GraphicUsed by:1499
Symbol 1499 ButtonUses:1494 1495 1424 1496 1497 1498Used by:Timeline

Instance Names

"mcTitle"Frame 5Symbol 36 MovieClip
"loader"Frame 5Symbol 46 MovieClip
"mcMain"Frame 7Symbol 54 MovieClip
"mcVoldemordRoom"Frame 7Symbol 354 MovieClip
"mcDementorRoom"Frame 7Symbol 422 MovieClip
"mcTrollRoom"Frame 7Symbol 465 MovieClip
"mcPeterRoom"Frame 7Symbol 511 MovieClip
"mcPeterDoor"Frame 7Symbol 554 MovieClip
"mcCuartoPociones"Frame 7Symbol 657 MovieClip
"mcFilch"Frame 7Symbol 670 MovieClip
"mcCuartoHarry"Frame 7Symbol 801 MovieClip
"mcFatRoom"Frame 7Symbol 841 MovieClip
"mcNickRoom"Frame 7Symbol 845 MovieClip
"mcEspejoRoom"Frame 7Symbol 870 MovieClip
"mcPuertaEspejo"Frame 7Symbol 874 MovieClip
"mcEntradaRoom"Frame 7Symbol 875 MovieClip
"mcSpells"Frame 7Symbol 946 MovieClip
"mcBox1"Frame 7Symbol 955 MovieClip
"mcBox2"Frame 7Symbol 955 MovieClip
"mcBox3"Frame 7Symbol 955 MovieClip
"mcBox4"Frame 7Symbol 955 MovieClip
"mcBox5"Frame 7Symbol 955 MovieClip
"mcBox6"Frame 7Symbol 955 MovieClip
"mcBox7"Frame 7Symbol 955 MovieClip
"mcBox8"Frame 7Symbol 955 MovieClip
"mcBox9"Frame 7Symbol 955 MovieClip
"mcBox10"Frame 7Symbol 955 MovieClip
"mcBox11"Frame 7Symbol 955 MovieClip
"mcBox12"Frame 7Symbol 955 MovieClip
"mcBox13"Frame 7Symbol 955 MovieClip
"mcBox14"Frame 7Symbol 955 MovieClip
"mcBox15"Frame 7Symbol 955 MovieClip
"mcBox16"Frame 7Symbol 955 MovieClip
"mcBox17"Frame 7Symbol 955 MovieClip
"mcBox18"Frame 7Symbol 955 MovieClip
"mcBox19"Frame 7Symbol 955 MovieClip
"mcBox20"Frame 7Symbol 955 MovieClip
"mcBox21"Frame 7Symbol 955 MovieClip
"mcBox22"Frame 7Symbol 955 MovieClip
"mcBox23"Frame 7Symbol 955 MovieClip
"mcBox24"Frame 7Symbol 955 MovieClip
"mcBox25"Frame 7Symbol 955 MovieClip
"mcBox26"Frame 7Symbol 955 MovieClip
"mcDialogWindow"Frame 7Symbol 993 MovieClip [mcDialogWindow]
"mcMenuScene"Frame 7Symbol 1011 MovieClip
"mcMenuInv"Frame 7Symbol 1018 MovieClip
"mcPanel"Frame 7Symbol 1020 MovieClip
"txtHelp"Frame 7Symbol 1021 EditableText
"mcPopUp"Frame 7Symbol 1027 MovieClip
"mcFondo"Frame 7Symbol 1029 MovieClip
"mcDarkBook"Frame 7Symbol 1059 MovieClip
"mcSpellsBook"Frame 7Symbol 1074 MovieClip
"mcPotionsBook"Frame 7Symbol 1090 MovieClip
"mcDeskStory"Frame 7Symbol 1118 MovieClip
"mcPassword"Frame 7Symbol 1132 MovieClip
"mcPergaminoScreen"Frame 7Symbol 1144 MovieClip
"mcPerdisteAngel"Frame 7Symbol 1162 MovieClip
"mcObamaEspejo"Frame 7Symbol 1164 MovieClip
"mcObamaFilch"Frame 7Symbol 1167 MovieClip
"mcTimer"Frame 7Symbol 1171 MovieClip
"mcShowTipDisabledEnglish"Frame 7Symbol 1174 MovieClip
"mcShowTipDisabledSpanish"Frame 7Symbol 1176 MovieClip
"mcProgressTip"Frame 7Symbol 1178 MovieClip
"btnShowTipSpanish"Frame 7Symbol 1183 Button
"btnShowTipEnglish"Frame 7Symbol 1188 Button
"mcProgressTipBorder"Frame 7Symbol 1190 MovieClip
"mcTips"Frame 7Symbol 1253 MovieClip
"btnSkipIntroEnglish"Frame 7Symbol 1258 Button
"btnSkipIntroSpanish"Frame 7Symbol 1261 Button
"mcGameLoader"Frame 7Symbol 1270 MovieClip
"mcComenzar"Frame 7Symbol 1275 MovieClip
"mcStageLoader"Frame 7Symbol 1283 MovieClip
"btnAudio"Frame 7Symbol 1293 MovieClip
"mcGameTitle"Frame 10Symbol 36 MovieClip
"btnVersionEnglish"Frame 10Symbol 1299 Button
"btnVersionSpanish"Frame 10Symbol 1304 Button
"mcGameDescription"Frame 11Symbol 1318 MovieClip
"btnJoinFacebookSpanish"Frame 11Symbol 1323 Button
"btnJoinFacebookEnglish"Frame 11Symbol 1328 Button
"btnMoreGamesSpanish"Frame 11Symbol 1333 Button
"btnSiguienteSpanish"Frame 11Symbol 1338 Button
"btnCreditosSpanish"Frame 11Symbol 1342 Button
"btnRankingSpanish"Frame 11Symbol 1347 Button
"btnVersionEnglish"Frame 11Symbol 1348 Button
"btnMoreGamesEnglish"Frame 11Symbol 1353 Button
"btnSiguienteEnglish"Frame 11Symbol 1358 Button
"btnCreditosEnglish"Frame 11Symbol 1363 Button
"btnRankingEnglish"Frame 11Symbol 1367 Button
"btnVersionSpanish"Frame 11Symbol 1368 Button
"mcInkaGames"Frame 12Symbol 1377 MovieClip
"btnRegresarSpanish"Frame 12Symbol 1380 Button
"btnRegresarEnglish"Frame 12Symbol 1383 Button
"mcInstrucciones"Frame 13Symbol 1400 MovieClip
"btnSiguienteEnglish"Frame 13Symbol 1401 Button
"btnSiguienteSpanish"Frame 13Symbol 1402 Button
"mcFloro"Frame 14Symbol 1406 MovieClip
"mcFacebookBanner"Frame 14Symbol 1410 MovieClip
"btnMoreGamesEnglish"Frame 14Symbol 1429 Button
"mcFacebookLink"Frame 14Symbol 1441 MovieClip
"btnRankingSpanish"Frame 14Symbol 1444 Button
"btnRankingEnglish"Frame 14Symbol 1445 Button
"txtDNI"Frame 15Symbol 1461 EditableText
"txtNombre"Frame 15Symbol 1463 EditableText
"txtMensaje"Frame 15Symbol 1464 EditableText
"txtEquipo"Frame 15Symbol 1465 EditableText
"txtPatas"Frame 15Symbol 1466 EditableText
"txtMail"Frame 15Symbol 1467 EditableText
"mcGrabarLabel"Frame 15Symbol 1482 MovieClip
"btnGrabarSpanish"Frame 15Symbol 1485 Button
"btnGrabarEnglish"Frame 15Symbol 1488 Button
"btnAudio"Frame 15Symbol 1293 MovieClip
"txtResultado"Frame 15Symbol 1491 EditableText
"mcFloro"Frame 16Symbol 1406 MovieClip
"mcFacebookBanner"Frame 16Symbol 1410 MovieClip
"btnMoreGamesEnglish"Frame 16Symbol 1429 Button
"mcFacebookLink"Frame 16Symbol 1441 MovieClip
"btnMoreGamesSpanish"Frame 16Symbol 1499 Button
"btnRankingSpanish"Frame 16Symbol 1444 Button
"btnRankingEnglish"Frame 16Symbol 1445 Button
"mcBase"Symbol 14 MovieClip [mcJorge] Frame 1Symbol 2 MovieClip
"mcFront"Symbol 14 MovieClip [mcJorge] Frame 1Symbol 4 MovieClip
"mcGraph"Symbol 14 MovieClip [mcJorge] Frame 1Symbol 9 MovieClip
"mcDrag"Symbol 14 MovieClip [mcJorge] Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 14 MovieClip [mcJorge] Frame 1Symbol 13 MovieClip
"mcPerilla"Symbol 19 MovieClip Frame 1Symbol 17 MovieClip
"mcCaja"Symbol 33 MovieClip [movClaveCaja] Frame 1Symbol 19 MovieClip
"mcText"Symbol 46 MovieClip Frame 1Symbol 45 MovieClip
"mcBase"Symbol 94 MovieClip Frame 1Symbol 2 MovieClip
"mcGraph"Symbol 94 MovieClip Frame 1Symbol 93 MovieClip
"mcDrag"Symbol 94 MovieClip Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 147 MovieClip Frame 26Symbol 129 MovieClip
"mcTarget"Symbol 148 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 148 MovieClip Frame 1Symbol 4 MovieClip
"mcBase"Symbol 148 MovieClip Frame 1Symbol 2 MovieClip
"mcDrag"Symbol 148 MovieClip Frame 1Symbol 11 MovieClip
"mcSombra"Symbol 148 MovieClip Frame 1Symbol 99 MovieClip
"mcGraph"Symbol 148 MovieClip Frame 1Symbol 147 MovieClip
"mcPanel"Symbol 148 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 152 MovieClip Frame 1Symbol 4 MovieClip
"mcGraph"Symbol 152 MovieClip Frame 1Symbol 151 MovieClip
"mcGraph"Symbol 155 MovieClip Frame 1Symbol 154 MovieClip
"mcDrag"Symbol 155 MovieClip Frame 1Symbol 11 MovieClip
"mcSombra"Symbol 160 MovieClip Frame 1Symbol 156 MovieClip
"mcSombra"Symbol 163 MovieClip Frame 1Symbol 156 MovieClip
"mcGraph"Symbol 163 MovieClip Frame 1Symbol 162 MovieClip
"mcCabeza"Symbol 259 MovieClip Frame 1Symbol 258 MovieClip
"mcCabeza"Symbol 261 MovieClip Frame 1Symbol 258 MovieClip
"mcTarget"Symbol 353 MovieClip Frame 1Symbol 166 MovieClip
"mcBase"Symbol 353 MovieClip Frame 1Symbol 167 MovieClip
"mcFront"Symbol 353 MovieClip Frame 1Symbol 168 MovieClip
"mcGraph"Symbol 353 MovieClip Frame 1Symbol 170 MovieClip
"mcDrag"Symbol 353 MovieClip Frame 1Symbol 171 MovieClip
"mcBlock"Symbol 353 MovieClip Frame 1Symbol 172 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 1Symbol 199 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 18Symbol 199 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 19Symbol 234 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 36Symbol 234 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 39Symbol 246 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 56Symbol 246 MovieClip
"mcObamaHerido"Symbol 353 MovieClip Frame 58Symbol 259 MovieClip
"mcObamaHerido"Symbol 353 MovieClip Frame 93Symbol 261 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 293Symbol 246 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 294Symbol 234 MovieClip
"mcGraph"Symbol 353 MovieClip Frame 296Symbol 271 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 305Symbol 234 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 350Symbol 234 MovieClip
"mcObam"Symbol 353 MovieClip Frame 418Symbol 275 MovieClip
"mcGraph"Symbol 353 MovieClip Frame 454Symbol 322 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 490Symbol 234 MovieClip
"mcCabeza"Symbol 353 MovieClip Frame 498Symbol 234 MovieClip
"mcGraph"Symbol 353 MovieClip Frame 502Symbol 271 MovieClip
"mcCalaveraRoja"Symbol 354 MovieClip Frame 1Symbol 94 MovieClip
"mcWalkRange"Symbol 354 MovieClip Frame 1Symbol 97 MovieClip
"mcVoldemord"Symbol 354 MovieClip Frame 1Symbol 148 MovieClip
"mcSpellBall"Symbol 354 MovieClip Frame 1Symbol 152 MovieClip
"mcSpellBall2"Symbol 354 MovieClip Frame 1Symbol 152 MovieClip
"mcVaritaAuxiliar"Symbol 354 MovieClip Frame 1Symbol 155 MovieClip
"mcMonedaAni"Symbol 354 MovieClip Frame 1Symbol 163 MovieClip
"mcGuiaInicio"Symbol 354 MovieClip Frame 1Symbol 165 MovieClip
"mcGuiaHechizo"Symbol 354 MovieClip Frame 1Symbol 165 MovieClip
"mcGuiaMoneda"Symbol 354 MovieClip Frame 1Symbol 165 MovieClip
"mcObama"Symbol 354 MovieClip Frame 1Symbol 353 MovieClip
"mcFondo"Symbol 360 MovieClip [mcSacaCorchos] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 360 MovieClip [mcSacaCorchos] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 360 MovieClip [mcSacaCorchos] Frame 1Symbol 357 MovieClip
"mcDrag"Symbol 368 MovieClip Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 368 MovieClip Frame 1Symbol 13 MovieClip
"mcGraph"Symbol 368 MovieClip Frame 1Symbol 367 MovieClip
"mcSombra"Symbol 397 MovieClip Frame 58Symbol 370 MovieClip
"mcFront"Symbol 398 MovieClip Frame 1Symbol 4 MovieClip
"mcSombra"Symbol 398 MovieClip Frame 1Symbol 370 MovieClip
"mcDrag"Symbol 398 MovieClip Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 398 MovieClip Frame 1Symbol 397 MovieClip
"mcFront"Symbol 404 MovieClip Frame 1Symbol 4 MovieClip
"mcGraph"Symbol 404 MovieClip Frame 1Symbol 403 MovieClip
"mcDrag"Symbol 404 MovieClip Frame 1Symbol 11 MovieClip
"mcBase"Symbol 404 MovieClip Frame 1Symbol 2 MovieClip
"mcTarget"Symbol 404 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 421 MovieClip Frame 1Symbol 4 MovieClip
"mcDrag"Symbol 421 MovieClip Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 421 MovieClip Frame 1Symbol 420 MovieClip
"mcSacaCorchosMovie"Symbol 422 MovieClip Frame 1Symbol 357 MovieClip
"mcSacaCorchos"Symbol 422 MovieClip Frame 1Symbol 360 MovieClip [mcSacaCorchos]
"mcWalkRange"Symbol 422 MovieClip Frame 1Symbol 365 MovieClip
"mcSacaCorchosAux"Symbol 422 MovieClip Frame 1Symbol 368 MovieClip
"mcDementor"Symbol 422 MovieClip Frame 1Symbol 398 MovieClip
"mcDangerZone"Symbol 422 MovieClip Frame 1Symbol 400 MovieClip
"mcGuiaDementor"Symbol 422 MovieClip Frame 1Symbol 165 MovieClip
"mcFlechaDerecha"Symbol 422 MovieClip Frame 1Symbol 404 MovieClip
"mcPatronum"Symbol 422 MovieClip Frame 1Symbol 421 MovieClip
"mcObama"Symbol 422 MovieClip Frame 1Symbol 353 MovieClip
"mcGuiaInicio"Symbol 422 MovieClip Frame 1Symbol 165 MovieClip
"mcGuiaHechizo"Symbol 422 MovieClip Frame 1Symbol 165 MovieClip
"mcSombra"Symbol 461 MovieClip Frame 1Symbol 424 MovieClip
"mcBase"Symbol 461 MovieClip Frame 1Symbol 427 MovieClip
"mcGraph"Symbol 461 MovieClip Frame 1Symbol 455 MovieClip
"mcFront"Symbol 461 MovieClip Frame 1Symbol 4 MovieClip
"mcTarget"Symbol 461 MovieClip Frame 1Symbol 457 MovieClip
"mcDrag"Symbol 461 MovieClip Frame 1Symbol 460 MovieClip
"mcFront"Symbol 464 MovieClip Frame 1Symbol 4 MovieClip
"mcGraph"Symbol 464 MovieClip Frame 1Symbol 463 MovieClip
"mcWalkRange"Symbol 465 MovieClip Frame 1Symbol 97 MovieClip
"mcGuiaTraslador"Symbol 465 MovieClip Frame 1Symbol 165 MovieClip
"mcGuiaHechizo"Symbol 465 MovieClip Frame 1Symbol 165 MovieClip
"mcDangerZone"Symbol 465 MovieClip Frame 1Symbol 400 MovieClip
"mcTroll"Symbol 465 MovieClip Frame 1Symbol 461 MovieClip
"mcBludgerTroll"Symbol 465 MovieClip Frame 1Symbol 464 MovieClip
"mcFlechaDerecha"Symbol 465 MovieClip Frame 1Symbol 404 MovieClip
"mcObama"Symbol 465 MovieClip Frame 1Symbol 353 MovieClip
"mcGuiaTroll"Symbol 465 MovieClip Frame 1Symbol 165 MovieClip
"mcTarget"Symbol 503 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 503 MovieClip Frame 1Symbol 4 MovieClip
"mcBase"Symbol 503 MovieClip Frame 1Symbol 471 MovieClip
"mcDrag"Symbol 503 MovieClip Frame 1Symbol 474 MovieClip
"mcSombra"Symbol 503 MovieClip Frame 1Symbol 475 MovieClip
"mcGraph"Symbol 503 MovieClip Frame 1Symbol 502 MovieClip
"mcGraph"Symbol 507 MovieClip Frame 1Symbol 506 MovieClip
"mcDrag"Symbol 507 MovieClip Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 507 MovieClip Frame 1Symbol 13 MovieClip
"mcFondo"Symbol 510 MovieClip [mcCopa] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 510 MovieClip [mcCopa] Frame 1Symbol 509 MovieClip
"mcDrag"Symbol 510 MovieClip [mcCopa] Frame 1Symbol 11 MovieClip
"mcWalkRange"Symbol 511 MovieClip Frame 1Symbol 468 MovieClip
"mcPeter"Symbol 511 MovieClip Frame 1Symbol 503 MovieClip
"mcFlechaAbajo"Symbol 511 MovieClip Frame 1Symbol 507 MovieClip
"mcGuiaHechizo"Symbol 511 MovieClip Frame 1Symbol 165 MovieClip
"mcCopa"Symbol 511 MovieClip Frame 1Symbol 510 MovieClip [mcCopa]
"mcObama"Symbol 511 MovieClip Frame 1Symbol 353 MovieClip
"mcFront"Symbol 521 MovieClip Frame 1Symbol 4 MovieClip
"mcFront1"Symbol 521 MovieClip Frame 2Symbol 4 MovieClip
"mcFront2"Symbol 521 MovieClip Frame 2Symbol 4 MovieClip
"mcFront3"Symbol 521 MovieClip Frame 2Symbol 4 MovieClip
"mcFront"Symbol 530 MovieClip Frame 1Symbol 521 MovieClip
"mcBase"Symbol 530 MovieClip Frame 1Symbol 524 MovieClip
"mcTarget"Symbol 530 MovieClip Frame 1Symbol 13 MovieClip
"mcGraph"Symbol 530 MovieClip Frame 1Symbol 529 MovieClip
"mcDrag"Symbol 530 MovieClip Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 549 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 549 MovieClip Frame 1Symbol 4 MovieClip
"mcBase"Symbol 549 MovieClip Frame 1Symbol 2 MovieClip
"mcDrag"Symbol 549 MovieClip Frame 1Symbol 11 MovieClip
"mcSombra"Symbol 549 MovieClip Frame 1Symbol 99 MovieClip
"mcGraph"Symbol 549 MovieClip Frame 1Symbol 548 MovieClip
"mcGraph"Symbol 553 MovieClip Frame 1Symbol 552 MovieClip
"mcFront"Symbol 553 MovieClip Frame 1Symbol 4 MovieClip
"mcDrag"Symbol 553 MovieClip Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 553 MovieClip Frame 1Symbol 13 MovieClip
"mcBase"Symbol 553 MovieClip Frame 1Symbol 2 MovieClip
"mcMuroCastillo"Symbol 554 MovieClip Frame 1Symbol 513 MovieClip
"mcWalkRange"Symbol 554 MovieClip Frame 1Symbol 515 MovieClip
"mcPuerta"Symbol 554 MovieClip Frame 1Symbol 530 MovieClip
"mcKratcher"Symbol 554 MovieClip Frame 1Symbol 549 MovieClip
"mcFlechaIzquierda"Symbol 554 MovieClip Frame 1Symbol 404 MovieClip
"mcFlechaArriba"Symbol 554 MovieClip Frame 1Symbol 553 MovieClip
"mcGuiaHechizo"Symbol 554 MovieClip Frame 1Symbol 165 MovieClip
"mcObama"Symbol 554 MovieClip Frame 1Symbol 353 MovieClip
"mcFondo"Symbol 564 MovieClip [mcPlumaFenix] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 564 MovieClip [mcPlumaFenix] Frame 1Symbol 563 MovieClip
"mcDrag"Symbol 564 MovieClip [mcPlumaFenix] Frame 1Symbol 11 MovieClip
"mcFront"Symbol 564 MovieClip [mcPlumaFenix] Frame 2Symbol 4 MovieClip
"mcBase"Symbol 564 MovieClip [mcPlumaFenix] Frame 2Symbol 2 MovieClip
"mcTarget"Symbol 564 MovieClip [mcPlumaFenix] Frame 2Symbol 13 MovieClip
"mcFondo"Symbol 570 MovieClip [mcGelatina] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 570 MovieClip [mcGelatina] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 570 MovieClip [mcGelatina] Frame 1Symbol 569 MovieClip
"mcFront"Symbol 570 MovieClip [mcGelatina] Frame 2Symbol 4 MovieClip
"mcTarget"Symbol 570 MovieClip [mcGelatina] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 570 MovieClip [mcGelatina] Frame 2Symbol 2 MovieClip
"mcGraph"Symbol 576 MovieClip Frame 1Symbol 572 MovieClip
"mcFondo"Symbol 577 MovieClip [mcFelicis] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 577 MovieClip [mcFelicis] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 577 MovieClip [mcFelicis] Frame 1Symbol 576 MovieClip
"mcFront"Symbol 577 MovieClip [mcFelicis] Frame 2Symbol 4 MovieClip
"mcTarget"Symbol 577 MovieClip [mcFelicis] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 577 MovieClip [mcFelicis] Frame 2Symbol 2 MovieClip
"mcFondo"Symbol 578 MovieClip [mcCorcho] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 578 MovieClip [mcCorcho] Frame 1Symbol 572 MovieClip
"mcDrag"Symbol 578 MovieClip [mcCorcho] Frame 1Symbol 11 MovieClip
"mcFondo"Symbol 586 MovieClip [mcDedoVasija] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 586 MovieClip [mcDedoVasija] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 586 MovieClip [mcDedoVasija] Frame 1Symbol 585 MovieClip
"mcFront"Symbol 586 MovieClip [mcDedoVasija] Frame 2Symbol 4 MovieClip
"mcTarget"Symbol 586 MovieClip [mcDedoVasija] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 586 MovieClip [mcDedoVasija] Frame 2Symbol 2 MovieClip
"mcFondo"Symbol 587 MovieClip [mcDedo] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 587 MovieClip [mcDedo] Frame 1Symbol 580 MovieClip
"mcDrag"Symbol 587 MovieClip [mcDedo] Frame 1Symbol 11 MovieClip
"mcFondo"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 1Symbol 592 MovieClip
"mcDrag"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 1Symbol 11 MovieClip
"q"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 2Symbol 156 MovieClip
"mcTarget"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 2Symbol 2 MovieClip
"mcFront"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 2Symbol 4 MovieClip
"mcFondo"Symbol 596 MovieClip [mcPinzas] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 596 MovieClip [mcPinzas] Frame 1Symbol 595 MovieClip
"mcDrag"Symbol 596 MovieClip [mcPinzas] Frame 1Symbol 11 MovieClip
"mcFront"Symbol 596 MovieClip [mcPinzas] Frame 2Symbol 4 MovieClip
"mcTarget"Symbol 596 MovieClip [mcPinzas] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 596 MovieClip [mcPinzas] Frame 2Symbol 2 MovieClip
"mcFondo"Symbol 602 MovieClip [mcCucharon] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 602 MovieClip [mcCucharon] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 602 MovieClip [mcCucharon] Frame 1Symbol 601 MovieClip
"mcFront"Symbol 602 MovieClip [mcCucharon] Frame 2Symbol 4 MovieClip
"mcBase"Symbol 602 MovieClip [mcCucharon] Frame 2Symbol 2 MovieClip
"mcTarget"Symbol 602 MovieClip [mcCucharon] Frame 2Symbol 13 MovieClip
"mcGraph"Symbol 607 MovieClip Frame 1Symbol 606 MovieClip
"mcGraph"Symbol 608 MovieClip Frame 1Symbol 604 MovieClip
"mcCalavera"Symbol 608 MovieClip Frame 1Symbol 607 MovieClip
"mcSombra"Symbol 611 MovieClip Frame 1Symbol 156 MovieClip
"mcFront"Symbol 611 MovieClip Frame 1Symbol 4 MovieClip
"mcTarget"Symbol 611 MovieClip Frame 1Symbol 13 MovieClip
"mcBase"Symbol 611 MovieClip Frame 1Symbol 2 MovieClip
"mcGraph"Symbol 611 MovieClip Frame 1Symbol 610 MovieClip
"mcDrag"Symbol 611 MovieClip Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 614 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 614 MovieClip Frame 1Symbol 4 MovieClip
"mcBase"Symbol 614 MovieClip Frame 1Symbol 2 MovieClip
"mcGraph"Symbol 614 MovieClip Frame 1Symbol 613 MovieClip
"mcDrag"Symbol 614 MovieClip Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 617 MovieClip Frame 1Symbol 13 MovieClip
"mcBase"Symbol 617 MovieClip Frame 1Symbol 2 MovieClip
"mcFront"Symbol 617 MovieClip Frame 1Symbol 4 MovieClip
"mcGraph"Symbol 617 MovieClip Frame 1Symbol 616 MovieClip
"mcFront"Symbol 624 MovieClip Frame 1Symbol 4 MovieClip
"mcGraph"Symbol 624 MovieClip Frame 1Symbol 623 MovieClip
"mcGraph"Symbol 647 MovieClip Frame 1Symbol 646 MovieClip
"mcFront"Symbol 647 MovieClip Frame 1Symbol 4 MovieClip
"mcDrag"Symbol 647 MovieClip Frame 1Symbol 11 MovieClip
"mcSombra"Symbol 652 MovieClip Frame 3Symbol 156 MovieClip
"mcSombra"Symbol 652 MovieClip Frame 12Symbol 156 MovieClip
"mcFondo"Symbol 656 MovieClip [mcBalde] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 656 MovieClip [mcBalde] Frame 1Symbol 652 MovieClip
"mcDrag"Symbol 656 MovieClip [mcBalde] Frame 1Symbol 11 MovieClip
"mcFront"Symbol 656 MovieClip [mcBalde] Frame 2Symbol 4 MovieClip
"mcTarget"Symbol 656 MovieClip [mcBalde] Frame 2Symbol 653 MovieClip
"mcBase"Symbol 656 MovieClip [mcBalde] Frame 2Symbol 2 MovieClip
"mcDrag"Symbol 656 MovieClip [mcBalde] Frame 2Symbol 655 MovieClip
"mcWalkRange"Symbol 657 MovieClip Frame 1Symbol 558 MovieClip
"mcPlumaFenix"Symbol 657 MovieClip Frame 1Symbol 564 MovieClip [mcPlumaFenix]
"mcGelatina"Symbol 657 MovieClip Frame 1Symbol 570 MovieClip [mcGelatina]
"mcFelicis"Symbol 657 MovieClip Frame 1Symbol 577 MovieClip [mcFelicis]
"mcCorcho"Symbol 657 MovieClip Frame 1Symbol 578 MovieClip [mcCorcho]
"mcDedoVasija"Symbol 657 MovieClip Frame 1Symbol 586 MovieClip [mcDedoVasija]
"mcDedo"Symbol 657 MovieClip Frame 1Symbol 587 MovieClip [mcDedo]
"mcGraph"Symbol 657 MovieClip Frame 1Symbol 590 MovieClip
"mcCalaveraAmarilla"Symbol 657 MovieClip Frame 1Symbol 593 MovieClip [mcCalaveraAmarilla]
"mcPinzas"Symbol 657 MovieClip Frame 1Symbol 596 MovieClip [mcPinzas]
"mcCucharon"Symbol 657 MovieClip Frame 1Symbol 602 MovieClip [mcCucharon]
"mcMuebleCalavera"Symbol 657 MovieClip Frame 1Symbol 608 MovieClip
"mcLenaCaldero"Symbol 657 MovieClip Frame 1Symbol 611 MovieClip
"mcCaldero"Symbol 657 MovieClip Frame 1Symbol 614 MovieClip
"mcSoporteCaldero"Symbol 657 MovieClip Frame 1Symbol 617 MovieClip
"mcFlechaAbajo"Symbol 657 MovieClip Frame 1Symbol 507 MovieClip
"mcLlamaCaldero"Symbol 657 MovieClip Frame 1Symbol 624 MovieClip
"mcHumoFeliz"Symbol 657 MovieClip Frame 1Symbol 647 MovieClip
"mcObama"Symbol 657 MovieClip Frame 1Symbol 353 MovieClip
"mcBalde"Symbol 657 MovieClip Frame 1Symbol 656 MovieClip [mcBalde]
"mcTarget"Symbol 666 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 666 MovieClip Frame 1Symbol 4 MovieClip
"mcBase"Symbol 666 MovieClip Frame 1Symbol 2 MovieClip
"mcDrag"Symbol 666 MovieClip Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 666 MovieClip Frame 1Symbol 665 MovieClip
"mcTarget"Symbol 669 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 669 MovieClip Frame 1Symbol 4 MovieClip
"mcBase"Symbol 669 MovieClip Frame 1Symbol 2 MovieClip
"mcDrag"Symbol 669 MovieClip Frame 1Symbol 11 MovieClip
"mcSombra"Symbol 669 MovieClip Frame 1Symbol 99 MovieClip
"mcGraph"Symbol 669 MovieClip Frame 1Symbol 668 MovieClip
"mcMuroCastillo"Symbol 670 MovieClip Frame 1Symbol 513 MovieClip
"mcWalkRange"Symbol 670 MovieClip Frame 1Symbol 659 MovieClip
"mcDangerZone"Symbol 670 MovieClip Frame 1Symbol 661 MovieClip
"mcObama"Symbol 670 MovieClip Frame 1Symbol 353 MovieClip
"mcPuerta"Symbol 670 MovieClip Frame 1Symbol 530 MovieClip
"mcFlechaIzquierda"Symbol 670 MovieClip Frame 1Symbol 404 MovieClip
"mcFlechaDerecha"Symbol 670 MovieClip Frame 1Symbol 404 MovieClip
"mcFlechaArriba"Symbol 670 MovieClip Frame 1Symbol 553 MovieClip
"mcGuiaDanger"Symbol 670 MovieClip Frame 1Symbol 165 MovieClip
"mcFilch"Symbol 670 MovieClip Frame 1Symbol 666 MovieClip
"mcNorris"Symbol 670 MovieClip Frame 1Symbol 669 MovieClip
"mcSombra"Symbol 675 MovieClip Frame 1Symbol 674 MovieClip
"mcGraph"Symbol 675 MovieClip Frame 1Symbol 590 MovieClip
"mcBase"Symbol 687 MovieClip Frame 1Symbol 680 MovieClip
"mcTarget"Symbol 687 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 687 MovieClip Frame 1Symbol 4 MovieClip
"mcDrag"Symbol 687 MovieClip Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 687 MovieClip Frame 1Symbol 686 MovieClip
"mcTarget"Symbol 695 MovieClip Frame 1Symbol 13 MovieClip
"mcBase"Symbol 695 MovieClip Frame 1Symbol 692 MovieClip
"mcFront"Symbol 695 MovieClip Frame 1Symbol 4 MovieClip
"mcDrag"Symbol 695 MovieClip Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 695 MovieClip Frame 1Symbol 694 MovieClip
"mcFondo"Symbol 698 MovieClip [mcTinta] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 698 MovieClip [mcTinta] Frame 1Symbol 697 MovieClip
"mcDrag"Symbol 698 MovieClip [mcTinta] Frame 1Symbol 11 MovieClip
"mcBase"Symbol 698 MovieClip [mcTinta] Frame 2Symbol 2 MovieClip
"mcFront"Symbol 698 MovieClip [mcTinta] Frame 2Symbol 4 MovieClip
"mcTarget"Symbol 698 MovieClip [mcTinta] Frame 2Symbol 13 MovieClip
"mcTarget"Symbol 712 MovieClip Frame 1Symbol 13 MovieClip
"mcBase"Symbol 712 MovieClip Frame 1Symbol 692 MovieClip
"mcFront"Symbol 712 MovieClip Frame 1Symbol 4 MovieClip
"mcDrag"Symbol 712 MovieClip Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 712 MovieClip Frame 1Symbol 711 MovieClip
"mcGraph"Symbol 725 MovieClip Frame 28Symbol 722 MovieClip
"mcGraph"Symbol 725 MovieClip Frame 32Symbol 722 MovieClip
"mcGraph"Symbol 725 MovieClip Frame 36Symbol 722 MovieClip
"mcGraph"Symbol 725 MovieClip Frame 40Symbol 722 MovieClip
"mcTarget"Symbol 726 MovieClip Frame 1Symbol 13 MovieClip
"mcBase"Symbol 726 MovieClip Frame 1Symbol 692 MovieClip
"mcFront"Symbol 726 MovieClip Frame 1Symbol 4 MovieClip
"mcDrag"Symbol 726 MovieClip Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 726 MovieClip Frame 1Symbol 725 MovieClip
"mcObamaKratcherName"Symbol 761 MovieClip Frame 62Symbol 742 MovieClip
"mcFondo"Symbol 764 MovieClip [mcPergamino] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 764 MovieClip [mcPergamino] Frame 1Symbol 761 MovieClip
"mcDrag"Symbol 764 MovieClip [mcPergamino] Frame 1Symbol 11 MovieClip
"mcFront"Symbol 764 MovieClip [mcPergamino] Frame 2Symbol 4 MovieClip
"mcTarget"Symbol 764 MovieClip [mcPergamino] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 764 MovieClip [mcPergamino] Frame 2Symbol 2 MovieClip
"mcGraph"Symbol 764 MovieClip [mcPergamino] Frame 2Symbol 763 MovieClip
"mcFondo"Symbol 770 MovieClip [mcEscoba] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 770 MovieClip [mcEscoba] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 770 MovieClip [mcEscoba] Frame 1Symbol 271 MovieClip
"mcBase"Symbol 770 MovieClip [mcEscoba] Frame 2Symbol 2 MovieClip
"mcTarget"Symbol 770 MovieClip [mcEscoba] Frame 2Symbol 13 MovieClip
"mcFront"Symbol 770 MovieClip [mcEscoba] Frame 2Symbol 4 MovieClip
"mcDrag"Symbol 770 MovieClip [mcEscoba] Frame 2Symbol 767 MovieClip
"mcGraph"Symbol 770 MovieClip [mcEscoba] Frame 2Symbol 769 MovieClip
"mcBase"Symbol 770 MovieClip [mcEscoba] Frame 3Symbol 767 MovieClip
"mcFondo"Symbol 777 MovieClip [mcHammer] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 777 MovieClip [mcHammer] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 777 MovieClip [mcHammer] Frame 1Symbol 772 MovieClip
"mcTarget"Symbol 777 MovieClip [mcHammer] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 777 MovieClip [mcHammer] Frame 2Symbol 776 MovieClip
"mcFront"Symbol 777 MovieClip [mcHammer] Frame 2Symbol 4 MovieClip
"mcBase"Symbol 784 MovieClip Frame 1Symbol 779 MovieClip
"mcTarget"Symbol 784 MovieClip Frame 1Symbol 13 MovieClip
"mcGraph"Symbol 784 MovieClip Frame 1Symbol 783 MovieClip
"mcFront"Symbol 784 MovieClip Frame 1Symbol 4 MovieClip
"mcDrag"Symbol 784 MovieClip Frame 1Symbol 11 MovieClip
"mcFondo"Symbol 790 MovieClip [mcVarita] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 790 MovieClip [mcVarita] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 790 MovieClip [mcVarita] Frame 1Symbol 787 MovieClip
"mcFront"Symbol 790 MovieClip [mcVarita] Frame 2Symbol 4 MovieClip
"mcBase"Symbol 790 MovieClip [mcVarita] Frame 2Symbol 2 MovieClip
"mcTarget"Symbol 790 MovieClip [mcVarita] Frame 2Symbol 13 MovieClip
"mcGraph"Symbol 790 MovieClip [mcVarita] Frame 2Symbol 789 MovieClip
"mcFront"Symbol 793 MovieClip Frame 1Symbol 4 MovieClip
"mcTarget"Symbol 793 MovieClip Frame 1Symbol 13 MovieClip
"mcGraph"Symbol 793 MovieClip Frame 1Symbol 792 MovieClip
"mcDrag"Symbol 793 MovieClip Frame 1Symbol 11 MovieClip
"mcFondo"Symbol 794 MovieClip [mcChocoFrog] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 794 MovieClip [mcChocoFrog] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 794 MovieClip [mcChocoFrog] Frame 1Symbol 722 MovieClip
"mcTarget"Symbol 794 MovieClip [mcChocoFrog] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 794 MovieClip [mcChocoFrog] Frame 2Symbol 692 MovieClip
"mcFront"Symbol 794 MovieClip [mcChocoFrog] Frame 2Symbol 4 MovieClip
"mcFondo"Symbol 795 MovieClip [mcLionShield] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 795 MovieClip [mcLionShield] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 795 MovieClip [mcLionShield] Frame 1Symbol 322 MovieClip
"mcTarget"Symbol 795 MovieClip [mcLionShield] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 795 MovieClip [mcLionShield] Frame 2Symbol 2 MovieClip
"mcFront"Symbol 795 MovieClip [mcLionShield] Frame 2Symbol 4 MovieClip
"mcFondo"Symbol 796 MovieClip [mcBludger] Frame 1Symbol 359 MovieClip
"mcGraph"Symbol 796 MovieClip [mcBludger] Frame 1Symbol 463 MovieClip
"mcDrag"Symbol 796 MovieClip [mcBludger] Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 796 MovieClip [mcBludger] Frame 2Symbol 13 MovieClip
"mcBase"Symbol 796 MovieClip [mcBludger] Frame 2Symbol 692 MovieClip
"mcFront"Symbol 796 MovieClip [mcBludger] Frame 2Symbol 4 MovieClip
"mcFondo"Symbol 800 MovieClip [mcCapa] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 800 MovieClip [mcCapa] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 800 MovieClip [mcCapa] Frame 1Symbol 798 MovieClip
"mcFront"Symbol 800 MovieClip [mcCapa] Frame 2Symbol 4 MovieClip
"mcBase"Symbol 800 MovieClip [mcCapa] Frame 2Symbol 2 MovieClip
"mcTarget"Symbol 800 MovieClip [mcCapa] Frame 2Symbol 13 MovieClip
"mcGraph"Symbol 800 MovieClip [mcCapa] Frame 2Symbol 798 MovieClip
"mcGraph"Symbol 800 MovieClip [mcCapa] Frame 3Symbol 798 MovieClip
"mcRepisa"Symbol 801 MovieClip Frame 1Symbol 675 MovieClip
"mcRepisa"Symbol 801 MovieClip Frame 1Symbol 675 MovieClip
"mcWalkRange"Symbol 801 MovieClip Frame 1Symbol 677 MovieClip
"mcBaul"Symbol 801 MovieClip Frame 1Symbol 687 MovieClip
"mcComoda"Symbol 801 MovieClip Frame 1Symbol 695 MovieClip
"mcTinta"Symbol 801 MovieClip Frame 1Symbol 698 MovieClip [mcTinta]
"mcCajon2"Symbol 801 MovieClip Frame 1Symbol 712 MovieClip
"mcAuxiliarCajon2"Symbol 801 MovieClip Frame 1Symbol 155 MovieClip
"mcGuiaBaul"Symbol 801 MovieClip Frame 1Symbol 165 MovieClip
"mcCajon1"Symbol 801 MovieClip Frame 1Symbol 726 MovieClip
"mcAuxiliarCajon1"Symbol 801 MovieClip Frame 1Symbol 155 MovieClip
"mcPergamino"Symbol 801 MovieClip Frame 1Symbol 764 MovieClip [mcPergamino]
"mcEscoba"Symbol 801 MovieClip Frame 1Symbol 770 MovieClip [mcEscoba]
"mcHammer"Symbol 801 MovieClip Frame 1Symbol 777 MovieClip [mcHammer]
"mcCama"Symbol 801 MovieClip Frame 1Symbol 784 MovieClip
"mcVarita"Symbol 801 MovieClip Frame 1Symbol 790 MovieClip [mcVarita]
"mcAlmohada"Symbol 801 MovieClip Frame 1Symbol 793 MovieClip
"mcChocoFrog"Symbol 801 MovieClip Frame 1Symbol 794 MovieClip [mcChocoFrog]
"mcObama"Symbol 801 MovieClip Frame 1Symbol 353 MovieClip
"mcFlechaAbajo"Symbol 801 MovieClip Frame 1Symbol 507 MovieClip
"mcLionShield"Symbol 801 MovieClip Frame 1Symbol 795 MovieClip [mcLionShield]
"mcBludger"Symbol 801 MovieClip Frame 1Symbol 796 MovieClip [mcBludger]
"mcCapa"Symbol 801 MovieClip Frame 1Symbol 800 MovieClip [mcCapa]
"mcTarget"Symbol 809 MovieClip Frame 1Symbol 13 MovieClip
"mcBase"Symbol 809 MovieClip Frame 1Symbol 2 MovieClip
"mcFront"Symbol 809 MovieClip Frame 1Symbol 4 MovieClip
"mcGraph"Symbol 809 MovieClip Frame 1Symbol 808 MovieClip
"mcGraph"Symbol 814 MovieClip Frame 1Symbol 811 MovieClip
"mcSombra"Symbol 814 MovieClip Frame 1Symbol 813 MovieClip
"mcFront"Symbol 817 MovieClip Frame 1Symbol 4 MovieClip
"mcBase"Symbol 817 MovieClip Frame 1Symbol 2 MovieClip
"mcGraph"Symbol 817 MovieClip Frame 1Symbol 816 MovieClip
"mcDrag"Symbol 817 MovieClip Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 817 MovieClip Frame 1Symbol 13 MovieClip
"mcFondo"Symbol 826 MovieClip [mcLibro] Frame 1Symbol 818 MovieClip
"mcGraph"Symbol 826 MovieClip [mcLibro] Frame 1Symbol 823 MovieClip
"mcDrag"Symbol 826 MovieClip [mcLibro] Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 826 MovieClip [mcLibro] Frame 2Symbol 13 MovieClip
"mcFront"Symbol 826 MovieClip [mcLibro] Frame 2Symbol 4 MovieClip
"mcGraph"Symbol 826 MovieClip [mcLibro] Frame 2Symbol 825 MovieClip
"mcFront"Symbol 839 MovieClip Frame 1Symbol 4 MovieClip
"mcFront1"Symbol 839 MovieClip Frame 6Symbol 4 MovieClip
"mcFront2"Symbol 839 MovieClip Frame 6Symbol 4 MovieClip
"mcFront3"Symbol 839 MovieClip Frame 6Symbol 4 MovieClip
"mcBase"Symbol 840 MovieClip Frame 1Symbol 829 MovieClip
"mcSombra"Symbol 840 MovieClip Frame 1Symbol 832 MovieClip
"mcTarget"Symbol 840 MovieClip Frame 1Symbol 13 MovieClip
"mcGraph"Symbol 840 MovieClip Frame 1Symbol 838 MovieClip
"mcFront"Symbol 840 MovieClip Frame 1Symbol 839 MovieClip
"mcMuroCastillo"Symbol 841 MovieClip Frame 1Symbol 513 MovieClip
"mcCuartoHarryCartel"Symbol 841 MovieClip Frame 1Symbol 806 MovieClip
"mcWalkRange"Symbol 841 MovieClip Frame 1Symbol 515 MovieClip
"mcAuxiliarPassword"Symbol 841 MovieClip Frame 1Symbol 155 MovieClip
"mcHuecoCuadro"Symbol 841 MovieClip Frame 1Symbol 809 MovieClip
"mcBookShelf"Symbol 841 MovieClip Frame 1Symbol 814 MovieClip
"mcBooks"Symbol 841 MovieClip Frame 1Symbol 817 MovieClip
"mcLibroVerde"Symbol 841 MovieClip Frame 1Symbol 826 MovieClip [mcLibro]
"mcLibroRojo"Symbol 841 MovieClip Frame 1Symbol 826 MovieClip [mcLibro]
"mcLibroAzul"Symbol 841 MovieClip Frame 1Symbol 826 MovieClip [mcLibro]
"mcLibroNegro"Symbol 841 MovieClip Frame 1Symbol 826 MovieClip [mcLibro]
"mcFlechaIzquierda"Symbol 841 MovieClip Frame 1Symbol 404 MovieClip
"mcFlechaDerecha"Symbol 841 MovieClip Frame 1Symbol 404 MovieClip
"mcFatLady"Symbol 841 MovieClip Frame 1Symbol 840 MovieClip
"mcObama"Symbol 841 MovieClip Frame 1Symbol 353 MovieClip
"mcGuiaFat"Symbol 841 MovieClip Frame 1Symbol 165 MovieClip
"mcGuiaPassword"Symbol 841 MovieClip Frame 1Symbol 165 MovieClip
"mcBase"Symbol 844 MovieClip Frame 1Symbol 2 MovieClip
"mcFront"Symbol 844 MovieClip Frame 1Symbol 4 MovieClip
"mcTarget"Symbol 844 MovieClip Frame 1Symbol 13 MovieClip
"mcPanel"Symbol 844 MovieClip Frame 1Symbol 13 MovieClip
"mcGraph"Symbol 844 MovieClip Frame 1Symbol 843 MovieClip
"mcDrag"Symbol 844 MovieClip Frame 1Symbol 11 MovieClip
"mcMuroCastillo"Symbol 845 MovieClip Frame 1Symbol 513 MovieClip
"mcWalkRange"Symbol 845 MovieClip Frame 1Symbol 515 MovieClip
"mcFlechaIzquierda"Symbol 845 MovieClip Frame 1Symbol 404 MovieClip
"mcFlechaDerecha"Symbol 845 MovieClip Frame 1Symbol 404 MovieClip
"mcObama"Symbol 845 MovieClip Frame 1Symbol 353 MovieClip
"mcNick"Symbol 845 MovieClip Frame 1Symbol 844 MovieClip
"mcBase"Symbol 863 MovieClip Frame 1Symbol 2 MovieClip
"mcFront"Symbol 863 MovieClip Frame 1Symbol 4 MovieClip
"mcTarget"Symbol 863 MovieClip Frame 1Symbol 13 MovieClip
"mcGraph"Symbol 863 MovieClip Frame 1Symbol 862 MovieClip
"mcDrag"Symbol 863 MovieClip Frame 1Symbol 11 MovieClip
"mcTarget"Symbol 866 MovieClip Frame 1Symbol 13 MovieClip
"mcFront"Symbol 866 MovieClip Frame 1Symbol 4 MovieClip
"mcBase"Symbol 866 MovieClip Frame 1Symbol 2 MovieClip
"mcGraph"Symbol 866 MovieClip Frame 1Symbol 865 MovieClip
"mcDrag"Symbol 866 MovieClip Frame 1Symbol 11 MovieClip
"mcFondo"Symbol 869 MovieClip [mcPeloUnicornio] Frame 1Symbol 359 MovieClip
"mcDrag"Symbol 869 MovieClip [mcPeloUnicornio] Frame 1Symbol 11 MovieClip
"mcGraph"Symbol 869 MovieClip [mcPeloUnicornio] Frame 1Symbol 868 MovieClip
"mcWalkRange"Symbol 870 MovieClip Frame 1Symbol 468 MovieClip
"mcEspejo"Symbol 870 MovieClip Frame 1Symbol 863 MovieClip
"mcFlechaAbajo"Symbol 870 MovieClip Frame 1Symbol 507 MovieClip
"mcUnicornio"Symbol 870 MovieClip Frame 1Symbol 866 MovieClip
"mcGuiaHechizo"Symbol 870 MovieClip Frame 1Symbol 165 MovieClip
"mcGuiaCola"Symbol 870 MovieClip Frame 1Symbol 165 MovieClip
"mcPeloUnicornio"Symbol 870 MovieClip Frame 1Symbol 869 MovieClip [mcPeloUnicornio]
"mcAuxiliarCola"Symbol 870 MovieClip Frame 1Symbol 155 MovieClip
"mcObama"Symbol 870 MovieClip Frame 1Symbol 353 MovieClip
"mcBase"Symbol 873 MovieClip Frame 1Symbol 2 MovieClip
"mcDrag"Symbol 873 MovieClip Frame 1Symbol 11 MovieClip
"mcFront"Symbol 873 MovieClip Frame 1Symbol 4 MovieClip
"mcGraph"Symbol 873 MovieClip Frame 1Symbol 872 MovieClip
"mcTarget"Symbol 873 MovieClip Frame 1Symbol 13 MovieClip
"mcMuroCastillo"Symbol 874 MovieClip Frame 1Symbol 513 MovieClip
"mcWalkRange"Symbol 874 MovieClip Frame 1Symbol 515 MovieClip
"mcPuerta"Symbol 874 MovieClip Frame 1Symbol 530 MovieClip
"mcFlechaIzquierda"Symbol 874 MovieClip Frame 1Symbol 404 MovieClip
"mcFlechaDerecha"Symbol 874 MovieClip Frame 1Symbol 404 MovieClip
"mcArmadura"Symbol 874 MovieClip Frame 1Symbol 873 MovieClip
"mcGuiaHechizo"Symbol 874 MovieClip Frame 1Symbol 165 MovieClip
"mcAuxEscudo"Symbol 874 MovieClip Frame 1Symbol 155 MovieClip
"mcFlechaArriba"Symbol 874 MovieClip Frame 1Symbol 553 MovieClip
"mcObama"Symbol 874 MovieClip Frame 1Symbol 353 MovieClip
"mcMuroCastillo"Symbol 875 MovieClip Frame 1Symbol 513 MovieClip
"mcWalkRange"Symbol 875 MovieClip Frame 1Symbol 515 MovieClip
"mcFlechaDerecha"Symbol 875 MovieClip Frame 1Symbol 404 MovieClip
"mcObama"Symbol 875 MovieClip Frame 1Symbol 353 MovieClip
"mcSpellAccio"Symbol 946 MovieClip Frame 1Symbol 880 MovieClip
"mcSpellAlohomora"Symbol 946 MovieClip Frame 1Symbol 884 MovieClip
"mcSpellRevelum"Symbol 946 MovieClip Frame 1Symbol 888 MovieClip
"mcCancelSpell"Symbol 946 MovieClip Frame 1Symbol 890 MovieClip
"mcSpellExpelliarmus"Symbol 946 MovieClip Frame 1Symbol 894 MovieClip
"mcSpellLacarnum"Symbol 946 MovieClip Frame 1Symbol 898 MovieClip
"mcSpellLeviosa"Symbol 946 MovieClip Frame 1Symbol 902 MovieClip
"mcSpellPatronum"Symbol 946 MovieClip Frame 1Symbol 906 MovieClip
"mcSpellAnimagum"Symbol 946 MovieClip Frame 1Symbol 910 MovieClip
"mcSpellLevicorpus"Symbol 946 MovieClip Frame 1Symbol 914 MovieClip
"mcSpellDiscendio"Symbol 946 MovieClip Frame 1Symbol 918 MovieClip
"mcSpellRelashio"Symbol 946 MovieClip Frame 1Symbol 922 MovieClip
"mcSpellReparo"Symbol 946 MovieClip Frame 1Symbol 926 MovieClip
"mcChooseSpell"Symbol 946 MovieClip Frame 1Symbol 929 MovieClip
"mcCancelSpell2"Symbol 946 MovieClip Frame 1Symbol 931 MovieClip
"btnSpellAccio"Symbol 946 MovieClip Frame 1Symbol 933 Button
"btnSpellAlohomora"Symbol 946 MovieClip Frame 1Symbol 934 Button
"btnSpellRevelum"Symbol 946 MovieClip Frame 1Symbol 935 Button
"btnSpellRevelum"Symbol 946 MovieClip Frame 1Symbol 936 Button
"btnSpellExpelliarmus"Symbol 946 MovieClip Frame 1Symbol 937 Button
"btnSpellLacarnum"Symbol 946 MovieClip Frame 1Symbol 938 Button
"btnSpellLeviosa"Symbol 946 MovieClip Frame 1Symbol 939 Button
"btnSpellPatronum"Symbol 946 MovieClip Frame 1Symbol 940 Button
"btnSpellAnimagum"Symbol 946 MovieClip Frame 1Symbol 941 Button
"btnSpellLevicorpus"Symbol 946 MovieClip Frame 1Symbol 942 Button
"btnSpellDiscendio"Symbol 946 MovieClip Frame 1Symbol 943 Button
"btnSpellRelashio"Symbol 946 MovieClip Frame 1Symbol 944 Button
"btnSpellReparo"Symbol 946 MovieClip Frame 1Symbol 945 Button
"mcBorder"Symbol 954 MovieClip Frame 1Symbol 953 MovieClip
"mcFondo"Symbol 955 MovieClip Frame 1Symbol 948 MovieClip
"mcShowBox"Symbol 955 MovieClip Frame 1Symbol 951 MovieClip
"mcDragBox"Symbol 955 MovieClip Frame 1Symbol 954 MovieClip
"txtOpcion"Symbol 966 MovieClip Frame 1Symbol 961 EditableText
"txtOpcion"Symbol 966 MovieClip Frame 2Symbol 962 EditableText
"txtOpcion"Symbol 966 MovieClip Frame 3Symbol 963 EditableText
"txtOpcion"Symbol 966 MovieClip Frame 4Symbol 964 EditableText
"txtOpcion"Symbol 966 MovieClip Frame 5Symbol 965 EditableText
"mcFondo"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 957 MovieClip
"mcUpArrow2"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 959 MovieClip
"mcDownArrow2"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 959 MovieClip
"mcOption2"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 966 MovieClip
"mcOption1"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 966 MovieClip
"mcOption3"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 966 MovieClip
"mcArrowUp"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 972 Button
"mcArrowDown"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 972 Button
"mcDialogHelp"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 981 MovieClip
"btnQuitDialogSpanish"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 987 Button
"btnQuitDialogEnglish"Symbol 993 MovieClip [mcDialogWindow] Frame 1Symbol 992 Button
"mcEye"Symbol 1011 MovieClip Frame 1Symbol 998 Button
"mcHand"Symbol 1011 MovieClip Frame 1Symbol 1003 Button
"mcMouth"Symbol 1011 MovieClip Frame 1Symbol 1008 Button
"mcTarget"Symbol 1011 MovieClip Frame 1Symbol 1010 MovieClip
"txtOpcion"Symbol 1017 MovieClip Frame 1Symbol 1014 EditableText
"txtOpcion"Symbol 1017 MovieClip Frame 2Symbol 1015 EditableText
"txtOpcion"Symbol 1017 MovieClip Frame 3Symbol 1016 EditableText
"mcTarget"Symbol 1018 MovieClip Frame 1Symbol 1010 MovieClip
"mcFondo"Symbol 1018 MovieClip Frame 1Symbol 1013 MovieClip
"mcOpcion1"Symbol 1018 MovieClip Frame 1Symbol 1017 MovieClip
"mcOpcion2"Symbol 1018 MovieClip Frame 1Symbol 1017 MovieClip
"mcOpcion3"Symbol 1018 MovieClip Frame 1Symbol 1017 MovieClip
"mcOpcion4"Symbol 1018 MovieClip Frame 1Symbol 1017 MovieClip
"txtMensaje"Symbol 1020 MovieClip Frame 1Symbol 1019 EditableText
"mcBarFondo"Symbol 1027 MovieClip Frame 1Symbol 1023 MovieClip
"mcBarFondo2"Symbol 1027 MovieClip Frame 1Symbol 1025 MovieClip
"txtPopUp"Symbol 1027 MovieClip Frame 1Symbol 1026 EditableText
"mcBookIntro"Symbol 1059 MovieClip Frame 1Symbol 1037 MovieClip
"btnSalirSpanish"Symbol 1059 MovieClip Frame 1Symbol 1042 Button
"btnSalirEnglish"Symbol 1059 MovieClip Frame 1Symbol 1046 Button
"mcChapter1Text"Symbol 1059 MovieClip Frame 2Symbol 1052 MovieClip
"mcChapter2Text"Symbol 1059 MovieClip Frame 3Symbol 1057 MovieClip
"mcBookIntro"Symbol 1074 MovieClip Frame 1Symbol 1064 MovieClip
"btnSalirSpanish"Symbol 1074 MovieClip Frame 1Symbol 1042 Button
"btnSalirEnglish"Symbol 1074 MovieClip Frame 1Symbol 1046 Button
"mcChapter1Text"Symbol 1074 MovieClip Frame 2Symbol 1068 MovieClip
"mcChapter2Text"Symbol 1074 MovieClip Frame 3Symbol 1073 MovieClip
"mcBookIntro"Symbol 1090 MovieClip Frame 1Symbol 1079 MovieClip
"btnSalirSpanish"Symbol 1090 MovieClip Frame 1Symbol 1042 Button
"btnSalirEnglish"Symbol 1090 MovieClip Frame 1Symbol 1046 Button
"mcChapter1Text"Symbol 1090 MovieClip Frame 2Symbol 1084 MovieClip
"mcChapter2Text"Symbol 1090 MovieClip Frame 3Symbol 1089 MovieClip
"mcGraph"Symbol 1090 MovieClip Frame 3Symbol 576 MovieClip
"mcBookIntro"Symbol 1118 MovieClip Frame 1Symbol 1095 MovieClip
"btnSalirSpanish"Symbol 1118 MovieClip Frame 1Symbol 1042 Button
"btnSalirEnglish"Symbol 1118 MovieClip Frame 1Symbol 1046 Button
"mcChapter1Text"Symbol 1118 MovieClip Frame 2Symbol 1102 MovieClip
"mcChapter2Text"Symbol 1118 MovieClip Frame 3Symbol 1109 MovieClip
"mcChapter3Text"Symbol 1118 MovieClip Frame 4Symbol 1116 MovieClip
"btnVolverJuegoSpanish"Symbol 1132 MovieClip Frame 1Symbol 1126 Button
"btnVolverJuegoEnglish"Symbol 1132 MovieClip Frame 1Symbol 1131 Button
"btnCerrarSpanish"Symbol 1144 MovieClip Frame 1Symbol 1138 Button
"btnCerrarEnglish"Symbol 1144 MovieClip Frame 1Symbol 1143 Button
"mcGraph"Symbol 1144 MovieClip Frame 1Symbol 761 MovieClip
"mcGraph"Symbol 1144 MovieClip Frame 2Symbol 761 MovieClip
"mcGraph"Symbol 1144 MovieClip Frame 3Symbol 761 MovieClip
"mcGraph"Symbol 1144 MovieClip Frame 4Symbol 761 MovieClip
"mcGraph"Symbol 1144 MovieClip Frame 5Symbol 761 MovieClip
"mcPerdisteText"Symbol 1162 MovieClip Frame 1Symbol 1150 MovieClip
"btnVolverJuegoSpanish"Symbol 1162 MovieClip Frame 1Symbol 1156 Button
"btnVolverJuegoEnglish"Symbol 1162 MovieClip Frame 1Symbol 1161 Button
"mcGraph"Symbol 1164 MovieClip Frame 1Symbol 862 MovieClip
"mcMuroCastillo"Symbol 1167 MovieClip Frame 1Symbol 513 MovieClip
"mcGraph"Symbol 1167 MovieClip Frame 1Symbol 668 MovieClip
"btnVolverJuegoSpanish"Symbol 1167 MovieClip Frame 1Symbol 1126 Button
"btnVolverJuegoEnglish"Symbol 1167 MovieClip Frame 1Symbol 1131 Button
"mcTimerBack"Symbol 1171 MovieClip Frame 1Symbol 1168 MovieClip
"btnNeverTipEnglish"Symbol 1253 MovieClip Frame 2Symbol 1199 Button
"btnGiveFirstTipEnglish"Symbol 1253 MovieClip Frame 2Symbol 1204 Button
"btnNeverTipSpanish"Symbol 1253 MovieClip Frame 2Symbol 1212 Button
"btnGiveFirstTipSpanish"Symbol 1253 MovieClip Frame 2Symbol 1217 Button
"btnSalirEnglish"Symbol 1253 MovieClip Frame 3Symbol 1223 Button
"btnSalirSpanish"Symbol 1253 MovieClip Frame 3Symbol 1228 Button
"btnSaveTipEnglish"Symbol 1253 MovieClip Frame 4Symbol 1234 Button
"btnGiveNextTipEnglish"Symbol 1253 MovieClip Frame 4Symbol 1239 Button
"btnSaveTipSpanish"Symbol 1253 MovieClip Frame 4Symbol 1244 Button
"btnGiveNextTipSpanish"Symbol 1253 MovieClip Frame 4Symbol 1252 Button
"mcGameTip"Symbol 1270 MovieClip Frame 1Symbol 1266 MovieClip
"mcTitle"Symbol 1270 MovieClip Frame 1Symbol 36 MovieClip
"mcGameGoal"Symbol 1270 MovieClip Frame 1Symbol 1269 MovieClip
"btnEmpezar"Symbol 1275 MovieClip Frame 1Symbol 1272 Button
"mcBar"Symbol 1283 MovieClip Frame 1Symbol 1277 MovieClip
"mcStageLoaderMsg"Symbol 1283 MovieClip Frame 1Symbol 1281 MovieClip
"btnNoAudio"Symbol 1293 MovieClip Frame 1Symbol 1290 Button
"btnAudio"Symbol 1293 MovieClip Frame 1Symbol 1292 Button
"btnFacebookSpanish"Symbol 1441 MovieClip Frame 1Symbol 1435 Button
"btnFacebookEnglish"Symbol 1441 MovieClip Frame 2Symbol 1440 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 14 as "mcJorge"
ExportAssets (56)Timeline Frame 1Symbol 33 as "movClaveCaja"
ExportAssets (56)Timeline Frame 7Symbol 55 as "detect_audio"
ExportAssets (56)Timeline Frame 7Symbol 56 as "fondo_intro"
ExportAssets (56)Timeline Frame 7Symbol 57 as "fondo_celda"
ExportAssets (56)Timeline Frame 7Symbol 58 as "troll_fondo"
ExportAssets (56)Timeline Frame 7Symbol 59 as "gana2"
ExportAssets (56)Timeline Frame 7Symbol 60 as "cucharon"
ExportAssets (56)Timeline Frame 7Symbol 61 as "enciende_lena"
ExportAssets (56)Timeline Frame 7Symbol 62 as "rompe_vasija"
ExportAssets (56)Timeline Frame 7Symbol 63 as "cola_unicornio"
ExportAssets (56)Timeline Frame 7Symbol 64 as "mueve_armadura"
ExportAssets (56)Timeline Frame 7Symbol 65 as "bebe"
ExportAssets (56)Timeline Frame 7Symbol 66 as "pop"
ExportAssets (56)Timeline Frame 7Symbol 67 as "spell_voldemort"
ExportAssets (56)Timeline Frame 7Symbol 68 as "sube_cuerda"
ExportAssets (56)Timeline Frame 7Symbol 69 as "tomafoto"
ExportAssets (56)Timeline Frame 7Symbol 70 as "salta_muro"
ExportAssets (56)Timeline Frame 7Symbol 71 as "pone_gancho"
ExportAssets (56)Timeline Frame 7Symbol 72 as "lanza_soga"
ExportAssets (56)Timeline Frame 7Symbol 73 as "gira_soga"
ExportAssets (56)Timeline Frame 7Symbol 74 as "puerta_botiquin"
ExportAssets (56)Timeline Frame 7Symbol 75 as "page_turn"
ExportAssets (56)Timeline Frame 7Symbol 76 as "filch"
ExportAssets (56)Timeline Frame 7Symbol 77 as "unlock_door"
ExportAssets (56)Timeline Frame 7Symbol 78 as "cae_gorda"
ExportAssets (56)Timeline Frame 7Symbol 79 as "coge_keke"
ExportAssets (56)Timeline Frame 7Symbol 80 as "gorda_shock"
ExportAssets (56)Timeline Frame 7Symbol 81 as "sienta_gorda"
ExportAssets (56)Timeline Frame 7Symbol 360 as "mcSacaCorchos"
ExportAssets (56)Timeline Frame 7Symbol 510 as "mcCopa"
ExportAssets (56)Timeline Frame 7Symbol 564 as "mcPlumaFenix"
ExportAssets (56)Timeline Frame 7Symbol 570 as "mcGelatina"
ExportAssets (56)Timeline Frame 7Symbol 577 as "mcFelicis"
ExportAssets (56)Timeline Frame 7Symbol 578 as "mcCorcho"
ExportAssets (56)Timeline Frame 7Symbol 586 as "mcDedoVasija"
ExportAssets (56)Timeline Frame 7Symbol 587 as "mcDedo"
ExportAssets (56)Timeline Frame 7Symbol 593 as "mcCalaveraAmarilla"
ExportAssets (56)Timeline Frame 7Symbol 596 as "mcPinzas"
ExportAssets (56)Timeline Frame 7Symbol 602 as "mcCucharon"
ExportAssets (56)Timeline Frame 7Symbol 656 as "mcBalde"
ExportAssets (56)Timeline Frame 7Symbol 698 as "mcTinta"
ExportAssets (56)Timeline Frame 7Symbol 764 as "mcPergamino"
ExportAssets (56)Timeline Frame 7Symbol 770 as "mcEscoba"
ExportAssets (56)Timeline Frame 7Symbol 777 as "mcHammer"
ExportAssets (56)Timeline Frame 7Symbol 790 as "mcVarita"
ExportAssets (56)Timeline Frame 7Symbol 794 as "mcChocoFrog"
ExportAssets (56)Timeline Frame 7Symbol 795 as "mcLionShield"
ExportAssets (56)Timeline Frame 7Symbol 796 as "mcBludger"
ExportAssets (56)Timeline Frame 7Symbol 800 as "mcCapa"
ExportAssets (56)Timeline Frame 7Symbol 826 as "mcLibro"
ExportAssets (56)Timeline Frame 7Symbol 835 as "door_open"
ExportAssets (56)Timeline Frame 7Symbol 869 as "mcPeloUnicornio"
ExportAssets (56)Timeline Frame 7Symbol 993 as "mcDialogWindow"

Labels

"Loading"Frame 5
"BeginGame"Frame 7
"BeginGameX"Frame 8
"BeginGameY"Frame 9
"BeginGame1"Frame 10
"BeginGame2"Frame 11
"BeginGame3"Frame 12
"BeginGame4"Frame 13
"Ganaste"Frame 15
"GraboDatos"Frame 16
"Normal"Symbol 19 MovieClip Frame 1
"Abierta"Symbol 19 MovieClip Frame 2
"English"Symbol 36 MovieClip Frame 1
"Spanish"Symbol 36 MovieClip Frame 2
"Spanish"Symbol 45 MovieClip Frame 1
"English"Symbol 45 MovieClip Frame 2
"Normal"Symbol 93 MovieClip Frame 1
"Vuela"Symbol 93 MovieClip Frame 2
"Normal"Symbol 147 MovieClip Frame 1
"Ataca"Symbol 147 MovieClip Frame 2
"Cae"Symbol 147 MovieClip Frame 10
"PrendeVarita"Symbol 147 MovieClip Frame 21
"Esfuma"Symbol 147 MovieClip Frame 51
"Levanta"Symbol 147 MovieClip Frame 81
"Normal"Symbol 151 MovieClip Frame 1
"Vuela"Symbol 151 MovieClip Frame 2
"VuelaFalla"Symbol 151 MovieClip Frame 23
"VuelaAbajo"Symbol 151 MovieClip Frame 67
"VuelaArriba"Symbol 151 MovieClip Frame 88
"VueloDebil"Symbol 151 MovieClip Frame 109
"Normal"Symbol 199 MovieClip Frame 1
"Tonto"Symbol 199 MovieClip Frame 2
"Alegre"Symbol 199 MovieClip Frame 3
"Triste"Symbol 199 MovieClip Frame 4
"Amargo"Symbol 199 MovieClip Frame 5
"Malevolo"Symbol 199 MovieClip Frame 6
"Emocionado"Symbol 199 MovieClip Frame 7
"Asombrado"Symbol 199 MovieClip Frame 8
"Asustado"Symbol 199 MovieClip Frame 9
"Arrochado"Symbol 199 MovieClip Frame 10
"Normal"Symbol 234 MovieClip Frame 1
"Tonto"Symbol 234 MovieClip Frame 2
"Alegre"Symbol 234 MovieClip Frame 3
"Triste"Symbol 234 MovieClip Frame 4
"Amargo"Symbol 234 MovieClip Frame 5
"Malevolo"Symbol 234 MovieClip Frame 6
"Emocionado"Symbol 234 MovieClip Frame 7
"Asombrado"Symbol 234 MovieClip Frame 8
"Asustado"Symbol 234 MovieClip Frame 9
"Arrochado"Symbol 234 MovieClip Frame 10
"Walk_Front"Symbol 353 MovieClip Frame 1
"Stand_Front"Symbol 353 MovieClip Frame 18
"Walk_Lateral"Symbol 353 MovieClip Frame 19
"Stand_Lateral"Symbol 353 MovieClip Frame 36
"Stand_Lateral_Hand"Symbol 353 MovieClip Frame 37
"Stand_Lateral_HandPalm"Symbol 353 MovieClip Frame 38
"Walk_Back"Symbol 353 MovieClip Frame 39
"Stand_Back"Symbol 353 MovieClip Frame 56
"Stand_Back_Hand"Symbol 353 MovieClip Frame 57
"CaeBala"Symbol 353 MovieClip Frame 58
"Agacha"Symbol 353 MovieClip Frame 292
"Moneda"Symbol 353 MovieClip Frame 293
"SubeEscoba"Symbol 353 MovieClip Frame 294
"VaritaMedio"Symbol 353 MovieClip Frame 305
"EntraCuadro"Symbol 353 MovieClip Frame 322
"SaleCuadro"Symbol 353 MovieClip Frame 336
"VaritaArriba"Symbol 353 MovieClip Frame 350
"VaritaAbajo"Symbol 353 MovieClip Frame 367
"VaritaArriba2"Symbol 353 MovieClip Frame 384
"VaritaArriba3"Symbol 353 MovieClip Frame 401
"VueloEscobaEscudo1"Symbol 353 MovieClip Frame 418
"VueloEscobaEscudo2"Symbol 353 MovieClip Frame 454
"AgachaRecoge"Symbol 353 MovieClip Frame 490
"AgachaMedio"Symbol 353 MovieClip Frame 491
"LevantaRecoge"Symbol 353 MovieClip Frame 493
"BajaEscoba"Symbol 353 MovieClip Frame 496
"PoneCapa"Symbol 353 MovieClip Frame 507
"SacaCapa"Symbol 353 MovieClip Frame 536
"TomaFelicis"Symbol 353 MovieClip Frame 565
"Inventory"Symbol 360 MovieClip [mcSacaCorchos] Frame 1
"Normal"Symbol 397 MovieClip Frame 1
"AgarraObama"Symbol 397 MovieClip Frame 2
"SueltaObama"Symbol 397 MovieClip Frame 20
"Patronum"Symbol 397 MovieClip Frame 38
"Normal"Symbol 420 MovieClip Frame 1
"Vuela"Symbol 420 MovieClip Frame 2
"Normal"Symbol 455 MovieClip Frame 1
"Mazo"Symbol 455 MovieClip Frame 2
"Golpe"Symbol 455 MovieClip Frame 39
"Normal"Symbol 464 MovieClip Frame 1
"Vuela"Symbol 464 MovieClip Frame 2
"Golpe"Symbol 464 MovieClip Frame 56
"Normal"Symbol 502 MovieClip Frame 1
"Transforma"Symbol 502 MovieClip Frame 2
"Come"Symbol 502 MovieClip Frame 27
"Inventory"Symbol 510 MovieClip [mcCopa] Frame 1
"Normal"Symbol 529 MovieClip Frame 1
"Abierta"Symbol 529 MovieClip Frame 2
"Normal"Symbol 548 MovieClip Frame 1
"Chasquido"Symbol 548 MovieClip Frame 2
"Normal"Symbol 563 MovieClip Frame 1
"Tinta"Symbol 563 MovieClip Frame 2
"Inventory"Symbol 564 MovieClip [mcPlumaFenix] Frame 1
"Escenary"Symbol 564 MovieClip [mcPlumaFenix] Frame 2
"Inventory"Symbol 570 MovieClip [mcGelatina] Frame 1
"Escenary"Symbol 570 MovieClip [mcGelatina] Frame 2
"Normal"Symbol 576 MovieClip Frame 1
"SinCorcho"Symbol 576 MovieClip Frame 2
"Vacia"Symbol 576 MovieClip Frame 3
"Inventory"Symbol 577 MovieClip [mcFelicis] Frame 1
"Escenary"Symbol 577 MovieClip [mcFelicis] Frame 2
"Inventory"Symbol 578 MovieClip [mcCorcho] Frame 1
"Escenary"Symbol 578 MovieClip [mcCorcho] Frame 2
"Normal"Symbol 585 MovieClip Frame 1
"Rota"Symbol 585 MovieClip Frame 2
"Inventory"Symbol 586 MovieClip [mcDedoVasija] Frame 1
"Escenary"Symbol 586 MovieClip [mcDedoVasija] Frame 2
"Inventory"Symbol 587 MovieClip [mcDedo] Frame 1
"Escenary"Symbol 587 MovieClip [mcDedo] Frame 2
"Inventory"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 1
"Escenary"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 2
"Baja"Symbol 593 MovieClip [mcCalaveraAmarilla] Frame 3
"Inventory"Symbol 596 MovieClip [mcPinzas] Frame 1
"Escenary"Symbol 596 MovieClip [mcPinzas] Frame 2
"Normal"Symbol 601 MovieClip Frame 1
"Lleno"Symbol 601 MovieClip Frame 2
"Inventory"Symbol 602 MovieClip [mcCucharon] Frame 1
"Escenary"Symbol 602 MovieClip [mcCucharon] Frame 2
"Normal"Symbol 646 MovieClip Frame 1
"Anima"Symbol 646 MovieClip Frame 2
"Normal"Symbol 652 MovieClip Frame 1
"Vacio"Symbol 652 MovieClip Frame 2
"Baja"Symbol 652 MovieClip Frame 3
"Inventory"Symbol 656 MovieClip [mcBalde] Frame 1
"Escenary"Symbol 656 MovieClip [mcBalde] Frame 2
"Normal"Symbol 665 MovieClip Frame 1
"Normal"Symbol 686 MovieClip Frame 1
"Abre"Symbol 686 MovieClip Frame 2
"Inventory"Symbol 698 MovieClip [mcTinta] Frame 1
"Escenary"Symbol 698 MovieClip [mcTinta] Frame 2
"Normal"Symbol 711 MovieClip Frame 1
"Abrir"Symbol 711 MovieClip Frame 2
"Cerrar"Symbol 711 MovieClip Frame 13
"CerrarCalavera"Symbol 711 MovieClip Frame 25
"Normal"Symbol 722 MovieClip Frame 1
"Mojada"Symbol 722 MovieClip Frame 2
"Normal"Symbol 725 MovieClip Frame 1
"Abrir"Symbol 725 MovieClip Frame 2
"Abierto"Symbol 725 MovieClip Frame 12
"Cerrar"Symbol 725 MovieClip Frame 13
"AbrirRana"Symbol 725 MovieClip Frame 25
"AbiertoRana"Symbol 725 MovieClip Frame 35
"CerrarRana"Symbol 725 MovieClip Frame 36
"Normal"Symbol 761 MovieClip Frame 1
"Revela"Symbol 761 MovieClip Frame 2
"Revelado"Symbol 761 MovieClip Frame 61
"Escribe"Symbol 761 MovieClip Frame 62
"Escrito"Symbol 761 MovieClip Frame 116
"Inventory"Symbol 764 MovieClip [mcPergamino] Frame 1
"Escenary"Symbol 764 MovieClip [mcPergamino] Frame 2
"Inventory"Symbol 770 MovieClip [mcEscoba] Frame 1
"Escenary"Symbol 770 MovieClip [mcEscoba] Frame 2
"Escenary2"Symbol 770 MovieClip [mcEscoba] Frame 3
"Baja"Symbol 770 MovieClip [mcEscoba] Frame 4
"Inventory"Symbol 777 MovieClip [mcHammer] Frame 1
"Escenary"Symbol 777 MovieClip [mcHammer] Frame 2
"Inventory"Symbol 790 MovieClip [mcVarita] Frame 1
"Escenary"Symbol 790 MovieClip [mcVarita] Frame 2
"mcDrag"Symbol 793 MovieClip Frame 1
"Inventory"Symbol 794 MovieClip [mcChocoFrog] Frame 1
"Escenary"Symbol 794 MovieClip [mcChocoFrog] Frame 2
"Inventory"Symbol 795 MovieClip [mcLionShield] Frame 1
"Escenary"Symbol 795 MovieClip [mcLionShield] Frame 2
"Inventory"Symbol 796 MovieClip [mcBludger] Frame 1
"Escenary"Symbol 796 MovieClip [mcBludger] Frame 2
"Baja"Symbol 796 MovieClip [mcBludger] Frame 3
"Inventory"Symbol 800 MovieClip [mcCapa] Frame 1
"Escenary"Symbol 800 MovieClip [mcCapa] Frame 2
"Escenary2"Symbol 800 MovieClip [mcCapa] Frame 3
"Spanish"Symbol 806 MovieClip Frame 1
"English"Symbol 806 MovieClip Frame 2
"Normal"Symbol 823 MovieClip Frame 1
"Rojo"Symbol 823 MovieClip Frame 2
"Azul"Symbol 823 MovieClip Frame 3
"Negro"Symbol 823 MovieClip Frame 4
"Inventory"Symbol 826 MovieClip [mcLibro] Frame 1
"Escenary"Symbol 826 MovieClip [mcLibro] Frame 2
"Normal"Symbol 838 MovieClip Frame 1
"Abre"Symbol 838 MovieClip Frame 2
"Normal"Symbol 862 MovieClip Frame 1
"Reparado"Symbol 862 MovieClip Frame 2
"Unicornio"Symbol 862 MovieClip Frame 3
"Inventory"Symbol 869 MovieClip [mcPeloUnicornio] Frame 1
"Escenary"Symbol 869 MovieClip [mcPeloUnicornio] Frame 2
"Normal"Symbol 872 MovieClip Frame 1
"Escudo"Symbol 872 MovieClip Frame 2
"Normal"Symbol 873 MovieClip Frame 1
"Disabled"Symbol 880 MovieClip Frame 1
"Enabled"Symbol 880 MovieClip Frame 2
"RollOver"Symbol 880 MovieClip Frame 3
"Spanish"Symbol 929 MovieClip Frame 1
"English"Symbol 929 MovieClip Frame 2
"Spanish"Symbol 981 MovieClip Frame 1
"English"Symbol 981 MovieClip Frame 2
"Spanish"Symbol 1037 MovieClip Frame 1
"English"Symbol 1037 MovieClip Frame 2
"Spanish"Symbol 1052 MovieClip Frame 1
"English"Symbol 1052 MovieClip Frame 2
"Spanish"Symbol 1057 MovieClip Frame 1
"English"Symbol 1057 MovieClip Frame 2
"Intro"Symbol 1059 MovieClip Frame 1
"Spanish"Symbol 1064 MovieClip Frame 1
"English"Symbol 1064 MovieClip Frame 2
"Spanish"Symbol 1068 MovieClip Frame 1
"English"Symbol 1068 MovieClip Frame 2
"Spanish"Symbol 1073 MovieClip Frame 1
"English"Symbol 1073 MovieClip Frame 2
"Intro"Symbol 1074 MovieClip Frame 1
"Spanish"Symbol 1079 MovieClip Frame 1
"English"Symbol 1079 MovieClip Frame 2
"Spanish"Symbol 1084 MovieClip Frame 1
"English"Symbol 1084 MovieClip Frame 2
"Spanish"Symbol 1089 MovieClip Frame 1
"English"Symbol 1089 MovieClip Frame 2
"Intro"Symbol 1090 MovieClip Frame 1
"Spanish"Symbol 1095 MovieClip Frame 1
"English"Symbol 1095 MovieClip Frame 2
"Spanish"Symbol 1102 MovieClip Frame 1
"English"Symbol 1102 MovieClip Frame 2
"Spanish"Symbol 1109 MovieClip Frame 1
"English"Symbol 1109 MovieClip Frame 2
"Spanish"Symbol 1116 MovieClip Frame 1
"English"Symbol 1116 MovieClip Frame 2
"Intro"Symbol 1118 MovieClip Frame 1
"Vacio"Symbol 1144 MovieClip Frame 1
"Revela"Symbol 1144 MovieClip Frame 2
"Revelado"Symbol 1144 MovieClip Frame 3
"Escribe"Symbol 1144 MovieClip Frame 4
"Escrito"Symbol 1144 MovieClip Frame 5
"Spanish"Symbol 1150 MovieClip Frame 1
"English"Symbol 1150 MovieClip Frame 2
"TipIntro"Symbol 1253 MovieClip Frame 2
"ShowTip"Symbol 1253 MovieClip Frame 3
"ConfirmTip"Symbol 1253 MovieClip Frame 4
"Spanish"Symbol 1266 MovieClip Frame 1
"English"Symbol 1266 MovieClip Frame 2
"Spanish"Symbol 1269 MovieClip Frame 1
"English"Symbol 1269 MovieClip Frame 2
"Spanish"Symbol 1275 MovieClip Frame 1
"English"Symbol 1275 MovieClip Frame 2
"Spanish"Symbol 1281 MovieClip Frame 1
"English"Symbol 1281 MovieClip Frame 2
"Spanish"Symbol 1318 MovieClip Frame 1
"English"Symbol 1318 MovieClip Frame 2
"Spanish"Symbol 1377 MovieClip Frame 1
"English"Symbol 1377 MovieClip Frame 2
"Spanish"Symbol 1400 MovieClip Frame 1
"English"Symbol 1400 MovieClip Frame 2
"Spanish"Symbol 1406 MovieClip Frame 1
"English"Symbol 1406 MovieClip Frame 2
"Spanish"Symbol 1410 MovieClip Frame 1
"English"Symbol 1410 MovieClip Frame 2
"Spanish"Symbol 1441 MovieClip Frame 1
"English"Symbol 1441 MovieClip Frame 2
"Spanish"Symbol 1482 MovieClip Frame 1
"English"Symbol 1482 MovieClip Frame 2

Dynamic Text Variables

txtPorcentajeSymbol 41 EditableText"0%"
txtTimerSymbol 1170 EditableText"59:00"
txtIntroSymbol 1194 EditableText"Así que quieres un tip...aquí están mis reglas: 1. SOlo tendrAs 3 tips por juego. 2. Cada tip te costara 10,000 puntos. 3.TENDRAS QUE ESPERAR 2 MINUTOS PARA VOLVER A PEDIRR UN TIP ¿Aceptas las reglas?"
txtTipSymbol 1218 EditableText"SALIR"
txtPreguntaSymbol 1229 EditableText"estas pidiendo otro tip considera que  tienes  3 tips para todo el juego y solo te quedan  2 tips .. ¿quieres continuar?"
txtContainerSymbol 1294 EditableText"prueba"
txtContainerSymbol 1430 EditableText"prueba"
txtURLSaveSymbol 1489 EditableText"x"
txtURLResSymbol 1490 EditableText"x"
txtContainerSymbol 1492 EditableText"prueba"




http://swfchan.com/19/93616/info.shtml
Created: 26/3 -2019 15:25:55 Last modified: 26/3 -2019 15:25:55 Server time: 22/12 -2024 12:05:57