home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global lmoveblock, rmoveblock, leftable, rightable
- if rollOver(43) then
- if not leftable then
- set the castNum of sprite 45 to the castNum of sprite 45 + 2
- updateStage()
- repeat with i = 2 to 41
- puppetSprite(i, 0)
- end repeat
- go("left_f")
- else
- go(#loop)
- end if
- else
- if rollOver(44) then
- if not rightable then
- set the castNum of sprite 46 to the castNum of sprite 46 + 2
- updateStage()
- repeat with i = 2 to 41
- puppetSprite(i, 0)
- end repeat
- go("right_f")
- else
- go(#loop)
- end if
- else
- go(#loop)
- end if
- end if
- end
-