home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global NextFrame, seenSport, lastFrame
- if the name of cast the castNum of sprite 18 contains "off" then
- exit
- end if
- set theCast to the name of cast the mouseCast
- if theCast = "sport.up" then
- puppetSound(2, the number of cast "click")
- updateStage()
- Buttons()
- if char 1 to 4 of lastFrame <> "fall" then
- set tmp to random(3)
- set NextFrame to "fall" & tmp
- end if
- SportMenu()
- else
- if theCast = "dance.up" then
- puppetSound(2, the number of cast "click")
- updateStage()
- Buttons(20)
- if char 1 to 4 of lastFrame <> "fall" then
- set tmp to random(3)
- set NextFrame to "fall" & tmp
- end if
- DanceMenu()
- end if
- end if
- end
-