home *** CD-ROM | disk | FTP | other *** search
- on FAEPreviewGame
- global FAEMasterList, FAEButtonsSprite, IFLFamilyNameSprite, ADDADCOntTwo, IFLButtonList, ADDAdCount, ADDADvertSprite, FAEOptionList, FAEPreview, FAEGOELSEWHERE, FAERemOne, FAERemTwo, FAERemThree, FAEPreviewOrderList, FAEChoosen, FAERAting, FAERateingList, FAEOfHowManyList
- if FAEPreview = 0 then
- set FAEPreview to 1
- set FAEGOELSEWHERE to 1
- wait(1)
- set FAERemOne to getAt(getAt(FAEOptionList, 3), 4)
- set FAERemTwo to getAt(getAt(FAEOptionList, 2), 4)
- set FAERemThree to getAt(getAt(FAEOptionList, 4), 4)
- setAt(getAt(FAEOptionList, 3), 4, 5)
- setAt(getAt(FAEOptionList, 2), 4, 5)
- setAt(getAt(FAEOptionList, 4), 4, 5)
- repeat with f = 1 to count(FAEMasterList)
- set TwochangeSprite to getAt(FAEMasterList, 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) <> 2) 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
- 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 <> IFLFamilyNameSprite 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 2 to 80
- set the locH of sprite 2 to 325
- set the locV of sprite 2 to 272
- set Howmany to getAt(FAEOfHowManyList, FAEChoosen)
- put "Howmany", Howmany
- case Howmany of
- 1:
- set the castNum of sprite 10 to the number of member "FAEOfOne"
- 2:
- set the castNum of sprite 10 to the number of member "FAEOfTwo"
- 3:
- set the castNum of sprite 10 to the number of member "FAEOfThree"
- 4:
- set the castNum of sprite 10 to the number of member "FAEOfFour"
- 5:
- set the castNum of sprite 10 to the number of member "FAEOffive"
- end case
- set the castNum of sprite 11 to getAt(FAEPreviewOrderList, 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 36
- end repeat
- set the castNum of sprite 12 to getAt(getAt(FAEPreviewOrderList, 2), FAEChoosen)
- 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 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 FAELeavePreview
- global FAEMasterList, IFLButtonList, IFLFamilyNameSprite, FAEHeadCastNum, FAEVisitCoverSprite, ADDADvertSprite, FAEPreview, FAEGOELSEWHERE, FAERemOne, FAERemTwo, FAERemThree, FAEPreviewCounter
- set FAEPreviewCounter to 1
- set FAEPreview to 0
- set FAEGOELSEWHERE to 0
- repeat with f = 1 to count(FAEMasterList)
- set TwochangeSprite to getAt(FAEMasterList, 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(FAEOptionList, 3), 4, FAERemOne)
- setAt(getAt(FAEOptionList, 2), 4, FAERemTwo)
- setAt(getAt(FAEOptionList, 4), 4, FAERemThree)
- updateStage()
- end
-