home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global bookwait, book
- repeat with i = 2 to 7
- if the castNum of sprite i <> 0 then
- set the locH of sprite i to the locH of sprite i + (1 * (random(3) - 2))
- set the locV of sprite i to the locV of sprite i + (1 * (random(3) - 2))
- end if
- end repeat
- if (book <> EMPTY) and (bookwait < ticks()) then
- repeat with i = 2 to 7
- set the castNum of sprite i to 0
- puppetSprite(i, 0)
- end repeat
- puppetSprite(29, 0)
- go(label(book) + 1)
- else
- go(#loop)
- end if
- end
-