home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global lpictblock
- if the castNum of sprite clickOn() <> 1 then
- if the castNum of sprite 48 = 0 then
- set the castNum of sprite 48 to the castNum of sprite clickOn()
- set the castNum of sprite clickOn() to 1
- setAt(lpictblock, clickOn() - 1, 1)
- repeat with i = 2 to 42
- set the cursor of sprite i to 0
- end repeat
- else
- set cnumkeep to the castNum of sprite 48
- set the castNum of sprite 48 to the castNum of sprite clickOn()
- set the castNum of sprite clickOn() to cnumkeep
- setAt(lpictblock, clickOn() - 1, cnumkeep)
- leftcheck()
- end if
- else
- if the castNum of sprite 48 <> 0 then
- set the castNum of sprite clickOn() to the castNum of sprite 48
- set the castNum of sprite 48 to 0
- setAt(lpictblock, clickOn() - 1, the castNum of sprite clickOn())
- leftcheck()
- end if
- end if
- end
-