home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gal
- set the movieRate of sprite 4 to 0
- if gal > 3 then
- set galno to gal - 3
- else
- set galno to gal
- end if
- set score to random(100)
- if score >= 75 then
- set level to 1
- else
- if score >= 50 then
- set level to 2
- else
- set level to 3
- end if
- end if
- set vno to random(3)
- puppetSprite(3, 1)
- set the width of sprite 3 to 0
- set the visible of sprite 3 to 1
- repeat with i = 0 to score
- set the width of sprite 3 to integer(i * 32 / 10)
- repeat with j = 1 to 1000
- nothing()
- end repeat
- updateStage()
- end repeat
- set the fileName of cast "dummy" to "@::QTS:" & galno & "_" & level & "_" & vno
- set the movieRate of sprite 4 to 0
- set the visible of sprite 4 to 1
- updateStage()
- set the movieTime of sprite 4 to 0
- set the movieRate of sprite 4 to 1
- end
-