home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global IFLSpriteDifference, IFLhasLineFlashedList, IFLQuestionList, IFLMarkRed, QuestionSprite, WaitFactor, SpeedIndex, GTSWIN95, gtswhichopsystem, RunProg, IFLWhichcursorList, IFLThisButton, addPallist, addlist, ADDKindList, iflmovevar, REFAddWatch, REFaddPallist, REFaddlist, REFADDKindList, IFLSkipList, IFLGone
- repeat with t = 1 to 48
- puppetSprite(t, 1)
- end repeat
- puppetSound("intro.wav")
- sound fadeIn 1, 180
- updateStage()
- set IFLGone to 0
- set REFAddWatch to 0
- set IFLThisButton to 0
- set IFLSpriteDifference to 38
- set IFLMarkRed to 0
- set QuestionSprite to 2
- set the searchPath to [the pathName & "video"]
- set addPallist to list([1087, "EPC"], [1100, "PLACEAD"], [1089, "EARTA"], [1091, "EARTB"])
- set addlist to list([1080, 1800], [0, 0], [1081, 2573], [1082, 2596])
- set ADDKindList to list(1, 2, 1, 1)
- set REFaddPallist to list([1087, "EPC"], [1100, "PLACEAD"], [1089, "EARTA"], [1091, "EARTB"])
- set REFaddlist to list([1080, 1800], [0, 0], [1081, 2573], [1082, 2596])
- set REFADDKindList to list(1, 2, 1, 1)
- set IFLWhichcursorList to list([1049, 1050], [1051, 1052], [1053, 1054], [1055, 1056], [1057, 1058], [1059, 1060], [1061, 1062], [1063, 1064], [1065, 1066])
- set IFLhasLineFlashedList to list(4, 5, 2, 1, 5, 0, 0, 2, 5)
- set IFLQuestionList to list(17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
- set IFLSkipList to list([39, 653, 150], [40, 404, 150], [41, 653, 106], [42, 404, 105], [43, 164, 61], [44, 404, 61], [45, 164, 105], [46, 164, 150], [47, 653, 61])
- set SpeedIndex to CalcSpeedIndex()
- set WaitFactor to 1
- if SpeedIndex < 50 then
- set WaitFactor to 0
- end if
- if the machineType < 200 then
- set WaitFactor to 1
- end if
- if the machineType > 200 then
- win_initialise()
- end if
- if the machineType > 200 then
- win_GetVersion()
- if gtswhichopsystem > 311 then
- set GTSWIN95 to 1
- else
- set GTSWIN95 to 0
- end if
- else
- set GTSWIN95 to 0
- end if
- if the machineType > 200 then
- StopBrowser()
- end if
- IFLCursorSet()
- end
-
- on stopMovie
- if the machineType > 200 then
- win_exit()
- end if
- end
-
- on CalcSpeedIndex
- set now to the ticks
- set loops to 0
- repeat while the ticks < (now + 60)
- set loops to loops + 1
- end repeat
- return loops * 100 / 16500
- end
-