home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global cc_no, wc_no, group, show, cat1max, cat2max
- if (show = 1) or (the text of cast "PICTname" = "- BLUE -") then
- exit
- end if
- puppetSound("ShutterSound")
- if button1("Up-Up", "Up-Down") = 1 then
- if group = "COOL" then
- set cc_no to cc_no + 3
- if cc_no > (cat1max - 2) then
- set cc_no to 1
- end if
- else
- if group = "WARM" then
- set wc_no to wc_no + 3
- if wc_no > (cat2max - 2) then
- set wc_no to 1
- end if
- end if
- end if
- readcat()
- end if
- puppetSound(0)
- end
-