home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- sound playFile 2, "stuni.aif"
- set sp to the clickOn
- puppetSprite(sp, 1)
- if the castNum of sprite sp = 57 then
- set the foreColor of sprite sp to 0
- set the backColor of sprite sp to 162
- set the castNum of sprite sp to 171
- else
- set the visible of sprite sp to 0
- set the foreColor of sprite sp to 255
- set the backColor of sprite sp to 0
- set the castNum of sprite sp to 57
- puppetSprite(sp, 0)
- end if
- updateStage()
- end
-