home *** CD-ROM | disk | FTP | other *** search
- on CDXADDEndBUTTON
- global CDXProceed, CDXMasSearchList, IFLButtonList, IFLHeadInkList, ADMasSearchList, CDXHelpOnStage, CDXSub
- if rollOver(4) and the mouseUp then
- set the castNum of sprite 4 to the number of member "CDXADLeaveTwo"
- updateStage()
- repeat while rollOver(4)
- if the mouseDown then
- set CDXProceed to 2
- exit repeat
- end if
- end repeat
- if CDXProceed = 2 then
- set CDXProceed to 0
- repeat with f = 1 to count(ADMasSearchList)
- set TwochangeSprite to getAt(ADMasSearchList, f)
- set the locH of sprite getAt(TwochangeSprite, 1) to 2000
- end repeat
- repeat with f = 1 to count(CDXMasterList)
- set TwochangeSprite to getAt(CDXMasterList, 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
- set the editableText of sprite 9 to 0
- 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
- repeat with f = 1 to count(IFLHeadInkList)
- set TwochangeSprite to getAt(IFLHeadInkList, f)
- set the ink of sprite getAt(TwochangeSprite, 1) to getAt(TwochangeSprite, 2)
- end repeat
- updateStage()
- set CDXHelpOnStage to 0
- set CDXSub to 1
- go("CDXSection")
- else
- set the castNum of sprite 4 to the number of member "CDXADLeaveOne"
- updateStage()
- end if
- end if
- end
-