home *** CD-ROM | disk | FTP | other *** search
- on SPUZZ
- global SCOREX, SCOREY, TP, UPG, PUZZ
- set PUZZ to 0
- set TP to 0
- repeat with n = 1 to 26
- if (the mouseH > getAt(SCOREX, n)) and (the mouseH < (getAt(SCOREX, n) + 110)) then
- if (the mouseV > getAt(SCOREY, n)) and (the mouseV < (getAt(SCOREY, n) + 13)) then
- set TP to n
- end if
- end if
- if (UPG = 0) and (n = 10) then
- exit repeat
- end if
- end repeat
- if TP <> 0 then
- set PUZZ to TP
- end if
- if PUZZ <> 0 then
- set the castNum of sprite 6 to 119 + PUZZ
- set the castNum of sprite 7 to 119 + PUZZ
- set the locH of sprite 6 to 21
- set the locV of sprite 6 to 200
- set the locH of sprite 7 to 575
- set the locV of sprite 7 to 200
- updateStage()
- end if
- end
-