home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global pictlist, clicklist, gtimes, gtime
- put 0 into field "points"
- if gtimes < 5 then
- set gtimes to gtimes + 1
- set minus to 20 * gtimes
- set gtime to gtime - minus
- else
- nothing()
- end if
- put gtime into field "time"
- set pictlist to []
- repeat while count(pictlist) < 15
- set pictno to random(15) + 30
- if getOne(pictlist, pictno) = 0 then
- append(pictlist, pictno)
- setAt(clicklist, count(pictlist) * 2, pictno - 14)
- end if
- end repeat
- go("before")
- end
-