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("Down-Up", "Down-Down") = 1 then
- if group = "COOL" then
- set cc_no to cc_no - 3
- if cc_no < 1 then
- set cc_no to cat1max - 2
- end if
- else
- if group = "WARM" then
- set wc_no to wc_no - 3
- if wc_no < 1 then
- set wc_no to cat2max - 2
- end if
- end if
- end if
- readcat()
- end if
- puppetSound(0)
- end
-