home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global n, POSIT, TEST
- set TEST to 0
- repeat with n = 19 down to 16
- if rollOver(n) then
- set the visible of sprite (n + 25) to 1
- next repeat
- end if
- set the visible of sprite (n + 25) to 0
- end repeat
- repeat with n = 28 down to 22
- if rollOver(n) then
- puppetSprite(n, 1)
- set the ink of sprite n to 4
- next repeat
- end if
- set the ink of sprite n to 8
- puppetSprite(n, 0)
- end repeat
- if rollOver(3) then
- puppetSprite(3, 1)
- set POSIT to the locV of sprite 3
- if POSIT < -1 then
- set POSIT to POSIT + 20
- else
- set POSIT to 0
- end if
- if POSIT > 0 then
- set POSIT to 0
- end if
- set the locV of sprite 3 to POSIT
- else
- puppetSprite(3, 0)
- end if
- repeat with n = 39 down to 35
- if the visible of sprite n = 1 then
- set TEST to TEST + 1
- end if
- end repeat
- if TEST > 0 then
- repeat with n = 44 down to 41
- set the visible of sprite n to 0
- end repeat
- end if
- go(the frame)
- updateStage()
- end
-