home *** CD-ROM | disk | FTP | other *** search
- on GTSPreviewGame
- global GTSGamesMasterList, GTSButtonsSprite, GTSButtonCastNum, GTSbuttonCount, IFLgamesNameSprite, ADDADCOntTwo, IFLButtonList, ADDAdCount, ADDADvertSprite, GTSOptionList, GTSPreview, GTSGOELSEWHERE, GTSRemOne, GTSRemTwo, GTSRemThree, GTSPreviewOrderList, GTSChoosen, GTSRAting, GTSRateingList, GTSOfHowManyList
- if GTSPreview = 0 then
- set GTSPreview to 1
- set GTSGOELSEWHERE to 1
- wait(1)
- set GTSRemOne to getAt(getAt(GTSOptionList, 3), 4)
- set GTSRemTwo to getAt(getAt(GTSOptionList, 2), 4)
- set GTSRemThree to getAt(getAt(GTSOptionList, 4), 4)
- setAt(getAt(GTSOptionList, 3), 4, 5)
- setAt(getAt(GTSOptionList, 2), 4, 5)
- setAt(getAt(GTSOptionList, 4), 4, 5)
- repeat with f = 1 to count(GTSGamesMasterList)
- set TwochangeSprite to getAt(GTSGamesMasterList, f)
- if count(TwochangeSprite) > 2 then
- setAt(TwochangeSprite, 2, the castNum of sprite getAt(TwochangeSprite, 1))
- setAt(TwochangeSprite, 5, the ink of sprite getAt(TwochangeSprite, 1))
- setAt(TwochangeSprite, 3, the locH of sprite getAt(TwochangeSprite, 1))
- setAt(TwochangeSprite, 4, the locV of sprite getAt(TwochangeSprite, 1))
- else
- setAt(TwochangeSprite, 2, 0)
- end if
- if (getAt(TwochangeSprite, 1) <> 9) and (getAt(TwochangeSprite, 1) <> 16) then
- set the locH of sprite getAt(TwochangeSprite, 1) to 2000
- set the locV of sprite getAt(TwochangeSprite, 1) to 2000
- end if
- end repeat
- set the locH of sprite ADDADvertSprite to 2000
- set GTSbuttonCount to 0
- repeat with f = 1 to count(IFLButtonList)
- set ThisTempList to getAt(IFLButtonList, f)
- setAt(ThisTempList, 2, the castNum of sprite getAt(ThisTempList, 1))
- end repeat
- repeat with t = 39 to 47
- if t <> IFLgamesNameSprite then
- set the locH of sprite t to 2000
- end if
- end repeat
- set ADDADCOntTwo to 0
- set ADDAdCount to 0
- set the locH of sprite ADDADvertSprite to 2000
- set the castNum of sprite 9 to 80
- set Howmany to getAt(GTSOfHowManyList, GTSChoosen)
- case Howmany of
- 1:
- set the castNum of sprite 10 to the number of member "GTSOfOne"
- 2:
- set the castNum of sprite 10 to the number of member "GTSOfTwo"
- 3:
- set the castNum of sprite 10 to the number of member "GTSOfThree"
- 4:
- set the castNum of sprite 10 to the number of member "GTSOfFour"
- 5:
- set the castNum of sprite 10 to the number of member "GTSOffive"
- end case
- set the castNum of sprite 11 to getAt(GTSPreviewOrderList, 1)
- repeat with x = 10 to 11
- set the locH of sprite x to 548
- set the locV of sprite x to 380
- set the ink of sprite x to 0
- end repeat
- set the castNum of sprite 12 to getAt(getAt(GTSPreviewOrderList, 2), GTSChoosen)
- set the locH of sprite 12 to 18
- set the locV of sprite 12 to 161
- set the ink of sprite 12 to 0
- set the castNum of sprite GTSRAting to getAt(getAt(GTSRateingList, GTSChoosen), 1) + 1
- set the locH of sprite GTSRAting to 435
- set the locV of sprite GTSRAting to 310
- set the ink of sprite GTSRAting to 36
- set the member of sprite 30 to member "leftbrowse"
- set the member of sprite 31 to member "rightbrowse"
- set the loc of sprite 30 to point(2000, 423)
- set the loc of sprite 31 to point(578, 423)
- set the ink of sprite 30 to 0
- set the ink of sprite 31 to 0
- updateStage()
- end if
- end
-
- on GTSLeavePreview
- global GTSGamesMasterList, IFLButtonList, IFLgamesNameSprite, GTSHeadCastNum, GTSVisitCoverSprite, ADDADvertSprite, GTSPreview, GTSGOELSEWHERE, GTSRemOne, GTSRemTwo, GTSRemThree, GTSPreviewCounter, IFLUSERPRESSEDESCKEY
- set GTSPreviewCounter to 1
- set GTSPreview to 0
- set GTSGOELSEWHERE to 0
- repeat with f = 1 to count(GTSGamesMasterList)
- set TwochangeSprite to getAt(GTSGamesMasterList, f)
- if count(TwochangeSprite) > 2 then
- set the castNum of sprite getAt(TwochangeSprite, 1) to getAt(TwochangeSprite, 2)
- set the locH of sprite getAt(TwochangeSprite, 1) to getAt(TwochangeSprite, 3)
- set the locV of sprite getAt(TwochangeSprite, 1) to getAt(TwochangeSprite, 4)
- set the ink of sprite getAt(TwochangeSprite, 1) to getAt(TwochangeSprite, 5)
- set the visible of sprite getAt(TwochangeSprite, 1) to 1
- else
- set the locH of sprite getAt(TwochangeSprite, 1) to 2000
- end if
- set the locH of sprite 24 to 2000
- end repeat
- repeat with f = 1 to count(IFLButtonList)
- set TwochangeSprite to getAt(IFLButtonList, f)
- set the castNum of sprite getAt(TwochangeSprite, 1) to getAt(TwochangeSprite, 2)
- set the locH of sprite getAt(TwochangeSprite, 1) to getAt(TwochangeSprite, 3)
- set the locV of sprite getAt(TwochangeSprite, 1) to getAt(TwochangeSprite, 4)
- end repeat
- setAt(getAt(GTSOptionList, 3), 4, GTSRemOne)
- setAt(getAt(GTSOptionList, 2), 4, GTSRemTwo)
- setAt(getAt(GTSOptionList, 4), 4, GTSRemThree)
- updateStage()
- set IFLUSERPRESSEDESCKEY to 0
- end
-