home *** CD-ROM | disk | FTP | other *** search
- on CDXPressStartSearch
- global CDXProceed, CDXMasSearchList, IFLButtonList, IFLHeadInkList
- if (the mouseH > 386) and (the mouseH < 493) and (the mouseV > 313) and (the mouseV < 331) then
- set the castNum of sprite 4 to the number of member "CDXStartSearchButton"
- set the loc of sprite 4 to point(300, 300)
- set the ink of sprite 4 to 0
- updateStage()
- repeat while (the mouseH > 386) and (the mouseH < 493) and (the mouseV > 313) and (the mouseV < 331)
- if the mouseDown then
- set CDXProceed to 1
- exit repeat
- end if
- end repeat
- if CDXProceed = 1 then
- set CDXProceed to 0
- repeat with f = 1 to count(CDXMasSearchList)
- set TwochangeSprite to getAt(CDXMasSearchList, 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
- next repeat
- end if
- set the locH of sprite getAt(TwochangeSprite, 1) to 2000
- end repeat
- repeat with f = 1 to count(IFLButtonList)
- set ThisTempList to getAt(IFLButtonList, f)
- setAt(getAt(IFLButtonList, f), 2, the castNum of sprite getAt(ThisTempList, 1))
- setAt(getAt(IFLButtonList, f), 3, the locH of sprite getAt(ThisTempList, 1))
- setAt(getAt(IFLButtonList, f), 4, the locV of sprite getAt(ThisTempList, 1))
- end repeat
- repeat with f = 1 to count(IFLHeadInkList)
- set InkTempList to getAt(IFLHeadInkList, f)
- setAt(InkTempList, 2, the ink of sprite getAt(ThisTempList, 1))
- end repeat
- repeat with t = 39 to 47
- set the locH of sprite t to 2000
- end repeat
- updateStage()
- go("CDXStartSearch")
- else
- set the locH of sprite 4 to 2000
- updateStage()
- end if
- end if
- end
-