home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global TXT3, TXT4
- openXLib("XTXT.dll")
- set KKDBK to XTXT(mnew)
- KKDBK(MSETWINDOWBYNAME, "HFRHSYEJODHJC")
- KKDBK(mdispose)
- set TXT3 to XTXT(mnew)
- set TXT4 to XTXT(mnew)
- end
-
- on PONPUPOFF INI, FIN
- repeat with A = INI to FIN
- puppetSprite(A, 0)
- end repeat
- end
-
- on CURSORES QUECURSOR
- puppetSprite(QUECURSOR, 0)
- set the cursor of sprite QUECURSOR to 4
- go(the frame)
- set the cursor of sprite QUECURSOR to 0
- puppetSprite(QUECURSOR, 1)
- end
-
- on PONER_LETRA PRIMERO, ULTIMO
- puppetSprite(PRIMERO, 1)
- set the castNum of sprite PRIMERO to ULTIMO
- updateStage()
- go(the frame)
- puppetSprite(PRIMERO, 0)
- end
-
- on PONER_CURSOR PRIMERO, MODO, SALTO
- set the cursor of sprite PRIMERO to MODO
- end
-
- on PONER_CURSOR_MASCARA NUMERO, PRIMERO, ULTIMO
- set the cursor of sprite NUMERO to [PRIMERO, ULTIMO]
- end
-
- on COMPANIA CUAL
- global TXT3
- LIMPIATEXT()
- set TODO to the text of field CUAL
- TXT3(MSETBKMODE, 0)
- TXT3(MSETPAPERCOLOR, 0, 0, 0)
- TXT3(MSETINKCOLOR, 255, 255, 255)
- TXT3(MSETJUSTMODE, 1)
- TXT3(MSETFONT, "VERDANA", 12, 1)
- TXT3(MOPENTEXTWINDOW2, 390, 20, 230, 440, TODO, 0)
- end
-
- on COMPANIAs CUAL
- global TXT4
- LIMPIATEXT()
- set TODO to the text of field CUAL
- TXT4(MSETBKMODE, 0)
- TXT4(MSETPAPERCOLOR, 0, 0, 0)
- TXT4(MSETINKCOLOR, 255, 255, 255)
- TXT4(MSETJUSTMODE, 1)
- TXT4(MSETFONT, "VERDANA", 12, 1)
- TXT4(MOPENTEXTWINDOW2, 20, 85, 395, 150, TODO, 0)
- end
-
- on LIMPIATEXT
- global TXT3, TXT4
- TXT3(MCLOSETEXT)
- TXT4(MCLOSETEXT)
- end
-
- on PULSA SPR, NOMB
- puppetSprite(SPR, 1)
- set the castNum of sprite SPR to the number of cast NOMB
- updateStage()
- end
-
- on tempo CUANTO
- startTimer()
- repeat while the timer < CUANTO
- end repeat
- end
-