home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- set x to value((the mouseH - 102) / 39)
- set y to value((the mouseV - 116) / 48)
- if (x = 3) and (y = 4) then
- exit
- end if
- puppetSprite(4, 1)
- set nx to value(118 + (39 * x))
- set ny to value(137 + (48 * y))
- set the locH of sprite 4 to nx
- set the locV of sprite 4 to ny
- set offset to x + 1 + (4 * y)
- put the text of cast (5169 + offset) into field 5168
- updateStage()
- end
-