home *** CD-ROM | disk | FTP | other *** search
- on GTSChooseOption
- global GTSOptionList, GTSButtonsSprite, GTSMouseUP, GTSWIN95, GTSSizeList, GTSChoosen
- repeat with s = 1 to count(GTSOptionList)
- set GTSOptionCount to getAt(getAt(GTSOptionList, s), 4)
- if rollOver(getAt(getAt(GTSOptionList, s), 1)) then
- set GTSOptionCount to 4
- setAt(getAt(GTSOptionList, s), 3, 0)
- end if
- if GTSOptionCount = 4 then
- setAt(getAt(GTSOptionList, s), 4, 0)
- if getAt(getAt(GTSOptionList, s), 3) = 0 then
- setAt(getAt(GTSOptionList, s), 3, 1)
- set the locH of sprite getAt(getAt(GTSOptionList, s), 1) to the locH of sprite GTSButtonsSprite
- set the locV of sprite getAt(getAt(GTSOptionList, s), 1) to the locV of sprite GTSButtonsSprite
- updateStage()
- else
- setAt(getAt(GTSOptionList, s), 3, 0)
- set the locH of sprite getAt(getAt(GTSOptionList, s), 1) to 2000
- updateStage()
- end if
- next repeat
- end if
- setAt(getAt(GTSOptionList, s), 4, GTSOptionCount + 1)
- end repeat
- end
-