home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gpressed
- repeat with n = 2 to 12
- if rollOver(n) then
- if n <> gpressed then
- set caster to the name of cast the castNum of sprite n
- put "lit" into word 3 of caster
- set the puppet of sprite n to 1
- set the castNum of sprite n to the number of cast caster
- updateStage()
- end if
- next repeat
- end if
- if n <> gpressed then
- set the puppet of sprite n to 0
- end if
- end repeat
- go(the frame)
- end
-