home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global score
- timer(10)
- puppetSprite(11, 1)
- set MoveSprite to 7
- set MoveSprite2 to 2
- set mH to the mouseH
- set mV to the mouseV
- set SpriteLH to the locH of sprite MoveSprite
- set LBound to 55
- set LRegion to 100
- set RBound to 600
- set RRegion to 540
- puppetSprite(MoveSprite, 1)
- puppetSprite(MoveSprite2, 1)
- if mH <= LRegion then
- set HOffset to LRegion - mH
- set NewLH to SpriteLH - HOffset
- if NewLH > LBound then
- set the locH of sprite MoveSprite to NewLH
- set the locH of sprite MoveSprite2 to NewLH
- else
- set the locH of sprite MoveSprite to LBound
- set the locH of sprite MoveSprite2 to LBound
- end if
- else
- if mH >= RRegion then
- set HOffset to RRegion - mH
- set NewLH to SpriteLH - HOffset
- if NewLH < RBound then
- set the locH of sprite MoveSprite to NewLH
- set the locH of sprite MoveSprite2 to NewLH
- else
- set the locH of sprite MoveSprite to RBound
- set the locH of sprite MoveSprite2 to RBound
- end if
- end if
- end if
- set tempH to random(640)
- puppetSprite(3, 1)
- go(the frame)
- end
-