home *** CD-ROM | disk | FTP | other *** search
- on idle
- global group, show, c_no, w_no, wait, stat
- if stat = 1 then
- bcool()
- end if
- if stat = 2 then
- bwarm()
- end if
- if stat = 3 then
- bsearch()
- end if
- if stat = 4 then
- bfull()
- end if
- if stat = 5 then
- bcopy()
- end if
- if stat = 6 then
- bhelp()
- end if
- if stat = 7 then
- bquit()
- end if
- if show = 0 then
- exit
- end if
- if (wait + 120) >= ticks() then
- exit
- end if
- puppetSound("ShutterSound")
- updateStage()
- if group = "COOL" then
- set grp to c_no
- else
- if group = "WARM" then
- set grp to w_no
- end if
- end if
- set grp to grp + 1
- set ret to pict_load(grp)
- if ret = 0 then
- set grp to 1
- pict_load(grp)
- end if
- if group = "COOL" then
- set c_no to grp
- else
- if group = "WARM" then
- set w_no to grp
- end if
- end if
- set wait to ticks()
- puppetSound(0)
- end
-