home *** CD-ROM | disk | FTP | other *** search
- property thescript, S, ro, m
-
- on getPropertyDescriptionList
- description = [:]
- addProp(description, #thescript, [#default: "A", #format: #text, #comment: "thescript"])
- return description
- end
-
- on beginSprite me
- S = me.spriteNum
- m = the memberNum of sprite S
- ro = m + 3
- end
-
- on mouseEnter me
- rocursor()
- puppetSound(2, 0)
- puppetSound(2, "chime")
- set the memberNum of sprite S to ro
- end
-
- on mouseLeave me
- regcursor()
- set the memberNum of sprite S to m
- end
-
- on mouseUp me
- regcursor()
- set the memberNum of sprite S to m
- case thescript of
- "replay":
- replay()
- "howto":
- howto()
- "over":
- leavegame()
- end case
- end
-
- on reset me
- end
-