home *** CD-ROM | disk | FTP | other *** search
- global Language, Topic
-
- on prepareMovie
- Cursors([8, 9, 10, 12, 13, 14])
- AddToHistory()
- blend(0)
- puppetSprite(6, 1)
- puppetSprite(18, 1)
- set Topic to GetTopic(the movieName)
- mode("Cardinal")
- pass()
- end
-
- on startMovie
- SetDynamics()
- pass()
- end
-
- on SetDynamics
- global myMode
- SetGlobalDynamics()
- repeat with i = 51 to 90
- puppetSprite(i, 1)
- end repeat
- mode(myMode)
- end
-
- on mode M
- global myMode
- case M of
- "Cardinal":
- set the loc of sprite 6 to point(6, 83)
- set the text of field "Testi" to readFile("T22C0" & Language)
- blend(0)
- "Ordinal":
- set the loc of sprite 6 to point(6, 150)
- set the text of field "Testi" to readFile("T22C1" & Language)
- "Test":
- blend(0)
- set the loc of sprite 6 to point(6, 185)
- set the text of field "Testi" to readFile("T22C0" & Language) & RETURN & readFile("T22C1" & Language)
- set the text of field "Sol" to " " & RETURN & "1"
- NextTest()
- end case
- repeat with i = 11 to 14
- set the visible of sprite i to M = "Test"
- end repeat
- set the visible of sprite 16 to 0
- set the text of field "Testo" to " "
- set myMode to M
- end
-
- on blend V
- repeat with i = 50 to 90
- set the blend of sprite i to V
- end repeat
- end
-
- on NextTest
- set the visible of sprite 16 to 0
- set n to line 2 of the text of field "Sol"
- if n > 40 then
- set n to n - 40
- end if
- set the blend of sprite (50 + n) to 0
- set n to random(the number of lines in the text of field "Testi")
- set the text of field "Sol" to line n of the text of field "Testi"
- set the text of field "Testo" to " "
- put RETURN & n after field "Sol"
- if the text of field "Sol" contains "NON SI USA" then
- NextTest()
- else
- ThisTest()
- end if
- end
-
- on ThisTest
- set n to line 2 of the text of field "Sol"
- doSound("T22C" & Format00(n) & Language)
- end
-
- on SolTest
- set n to line 2 of the text of field "Sol"
- set the text of field "Testo" to line 1 of the text of field "Sol"
- if n > 40 then
- set n to n - 40
- end if
- set the blend of sprite (50 + n) to 100
- ThisTest()
- end
-