home *** CD-ROM | disk | FTP | other *** search
- global quizans, quizansc, quizmax, quizqc
-
- on exitFrame
- sound stop 1, 2
- if quizqc < 10 then
- set quizqc to quizqc + 1
- set qn to getquiznum()
- puppetSprite(2, 1)
- set the castNum of sprite 2 to qn + 20
- set quizans to value("#" & the name of cast (qn + 20))
- put quizans, quizansc
- set the visible of sprite 2 to 1
- else
- puppetSprite(2, 0)
- set the visible of sprite 2 to 1
- if quizansc > (10 * 8 / 10) then
- go("QuizOK!")
- else
- go("QuizBAT!")
- end if
- end if
- end
-