home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global obstacles, hero, background
- repeat with i = 1 to count(obstacles)
- set the locV of sprite the sNumber of getAt(obstacles, i) to the locV of sprite getAt(obstacles, i).sNumber + 5
- end repeat
- set the locV of sprite the sNumber of hero to the locV of sprite hero.sNumber + 5
- repeat with i = 1 to count(background.sNumber)
- set the locV of sprite getAt(the sNumber of background, i) to the locV of sprite getAt(background.sNumber, i) + 5
- end repeat
- end
-