home *** CD-ROM | disk | FTP | other *** search
- global gLastSprite
-
- on exitFrame
- go(the frame)
- end
-
- on idle
- repeat with n = 15 to 23
- if rollOver(n) then
- if (n <> gLastSprite) and (the mouseCast = the castNum of sprite n) then
- set lastSprite to n
- puppetSprite(n, 1)
- set the castNum of sprite n to the number of cast ("pic" & string(n - 14) && "color")
- end if
- exit repeat
- end if
- end repeat
- repeat with n = 15 to 23
- if n <> lastSprite then
- puppetSprite(n, 0)
- end if
- end repeat
- updateStage()
- end
-