home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global glastRoll, gLastPic, gFPDemoList
- linearCheck()
- set r to 0
- set cn to 0
- if rollOver(3) then
- set r to 3
- else
- if rollOver(4) then
- set r to 4
- else
- if rollOver(5) then
- set r to 5
- else
- if rollOver(6) then
- set r to 6
- else
- if rollOver(7) then
- set r to 7
- else
- if rollOver(8) then
- set r to 8
- else
- if rollOver(9) then
- set r to 9
- else
- if rollOver(10) then
- set r to 10
- else
- if rollOver(11) then
- set r to 11
- else
- if rollOver(12) then
- set r to 12
- else
- if rollOver(13) then
- set r to 13
- else
- if rollOver(14) then
- set r to 14
- else
- if rollOver(15) then
- set r to 15
- else
- if rollOver(16) then
- set r to 16
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- if r > 0 then
- set cn to 0
- end if
- if (glastRoll > 0) and (glastRoll <> r) then
- set the castNum of sprite r to 827 + r
- updateStage()
- puppetSprite(glastRoll, 0)
- end if
- if r > 0 then
- puppetSprite(r, 1)
- set the castNum of sprite r to 827 + r + 15
- updateStage()
- set glastRoll to r
- set pic to r + 17
- if gLastPic <> pic then
- set the locV of sprite gLastPic to -1000
- updateStage()
- puppetSprite(gLastPic, 0)
- end if
- set cn to the castNum of sprite pic
- if cn <> 0 then
- puppetSprite(pic, 1)
- set the loc of sprite pic to point(320, 240)
- updateStage()
- set gLastPic to pic
- if getOne(gFPDemoList, the name of cast cn) = 0 then
- puppetSprite(38, 1)
- set the locV of sprite 38 to the bottom of sprite pic + 20
- updateStage()
- else
- puppetSprite(38, 0)
- updateStage()
- end if
- end if
- else
- set the locV of sprite gLastPic to -1000
- puppetSprite(38, 0)
- updateStage()
- updateStage()
- end if
- if rollOver(17) then
- puppetSprite(17, 1)
- puppetSprite(37, 1)
- set the castNum of sprite 17 to 809
- set the locV of sprite 37 to the locV of sprite 17 - 20
- updateStage()
- else
- set the locV of sprite 37 to -1000
- updateStage()
- puppetSprite(37, 0)
- puppetSprite(17, 0)
- end if
- go(the frame)
- end
-