global CDXWhichInputList, CDXDrpMenuList, CDXRememberlist, CDXRememberNamelist, CDXRememberSeltextList, CDXTwoRememberSeltextList, CDXTwoRememberNamelist, CDXTwoRememberlist, CDXOptionSprite
set alreadyHere to 0
repeat with t = 1 to count(CDXWhichInputList)
if getAt(getAt(CDXWhichInputList, t), 1) = 7 then
set alreadyHere to 1
set thisPos to t
exit repeat
end if
end repeat
case alreadyHere of
0:
set AllFilled to 1
repeat with C = 1 to 3
if (the locH of sprite getAt(getAt(CDXDrpMenuList, C), 11) <> getAt(getAt(CDXDrpMenuList, C), 13)) or (field getAt(getAt(CDXDrpMenuList, C), 12) = EMPTY) then
set the member of sprite 7 to member "CDXANDORYelloW"
set the member of sprite CDXOptionSprite to member "CDXOption"
set the loc of sprite CDXOptionSprite to point(326, 174)
set the ink of sprite CDXOptionSprite to 36
updateStage()
end case
1:
set AllFilled to 1
set NotComplete to 1
repeat with C = 1 to 3
if (the locH of sprite getAt(getAt(CDXDrpMenuList, C), 11) <> getAt(getAt(CDXDrpMenuList, C), 13)) or (field getAt(getAt(CDXDrpMenuList, C), 12) = EMPTY) then
set AllFilled to 0
exit repeat
end if
end repeat
if (AllFilled = 1) and (the member of sprite 7 = member "CDXANDORYellow") then
set AllFilled to 2
end if
if (field "selectedfour" = EMPTY) and (thisdropbox = 7) then
set AllFilled to 0
set NotComplete to 0
set thisPos to thisPos + 1
set the member of sprite CDXOptionSprite to member "CDXOption"
set the loc of sprite CDXOptionSprite to point(326, 174)
set the ink of sprite CDXOptionSprite to 36
updateStage()
end if
if (field "selectedfour" <> EMPTY) and (thisdropbox = 7) then
set AllFilled to 1
set thisPos to thisPos + 1
set the locH of sprite CDXOptionSprite to 2000
updateStage()
set the textSize of member "SelectedFour" to 12
set the boxType of member "SelectedFour" to #adjust
set the textStyle of member "SelectedFour" to "bold"
if the machineType > 200 then
set the textFont of member "SelectedFour" to "Arial"
else
set the textFont of member "SelectedFour" to "Geneva"
end if
updateStage()
end if
case AllFilled of
0:
if (count(CDXRememberlist) <> 0) and (the member of sprite 7 = member "CDXANDORYellow") and (field "SelectedFour" = EMPTY) then
set the memberNum of sprite getAt(getAt(CDXRememberlist, z), 1) to getAt(CDXRememberNamelist, z)
end repeat
repeat with z = 1 to count(CDXRememberSeltextList)
set the loc of sprite getAt(getAt(CDXRememberSeltextList, z), 1) to point(getAt(getAt(CDXRememberSeltextList, z), 2), getAt(getAt(CDXRememberSeltextList, z), 3))
set the memberNum of sprite getAt(getAt(CDXRememberSeltextList, z), 1) to getAt(getAt(CDXRememberSeltextList, z), 4)
end repeat
updateStage()
set CDXRememberlist to list()
set CDXRememberNamelist to list()
set CDXRememberSeltextList to list()
set CDXTwoRememberlist to list()
set CDXTwoRememberNamelist to list()
set CDXTwoRememberSeltextList to list()
end if
end case
end case
if count(CDXWhichInputList) > 6 then
set TwoalreadyHere to 0
repeat with t = 1 to count(CDXWhichInputList)
if getAt(getAt(CDXWhichInputList, t), 1) = 11 then
set TwoalreadyHere to 1
set TwothisPos to t
exit repeat
end if
end repeat
case TwoalreadyHere of
0:
set TwoAllFilled to 1
repeat with C = 5 to 7
if (the locH of sprite getAt(getAt(CDXDrpMenuList, C), 11) <> getAt(getAt(CDXDrpMenuList, C), 13)) or (field getAt(getAt(CDXDrpMenuList, C), 12) = EMPTY) then
set the member of sprite 11 to member "CDXANDORYelloW"
set the member of sprite CDXOptionSprite to member "CDXOption"
set the loc of sprite CDXOptionSprite to point(326, 250)
set the ink of sprite CDXOptionSprite to 36
updateStage()
end case
1:
set OneFilled to 1
repeat with C = 1 to 3
if (the locH of sprite getAt(getAt(CDXDrpMenuList, C), 11) <> getAt(getAt(CDXDrpMenuList, C), 13)) or (field getAt(getAt(CDXDrpMenuList, C), 12) = EMPTY) then
set OneFilled to 0
exit repeat
end if
end repeat
if OneFilled = 0 then
end if
case OneFilled of
1:
set TwoAllFilled to 1
set NotComplete to 1
repeat with C = 5 to 7
if (the locH of sprite getAt(getAt(CDXDrpMenuList, C), 11) <> getAt(getAt(CDXDrpMenuList, C), 13)) or (field getAt(getAt(CDXDrpMenuList, C), 12) = EMPTY) then
set TwoAllFilled to 0
exit repeat
end if
end repeat
if (TwoAllFilled = 1) and (the member of sprite 11 = member "CDXANDORYellow") then
set TwoAllFilled to 2
end if
if (field "SelectedEight" = EMPTY) and (thisdropbox = 11) then
set TwoAllFilled to 0
set NotComplete to 0
set TwothisPos to TwothisPos + 1
set the member of sprite CDXOptionSprite to member "CDXOption"
set the loc of sprite CDXOptionSprite to point(326, 250)
set the ink of sprite CDXOptionSprite to 36
end if
if (field "SelectedEight" <> EMPTY) and (thisdropbox = 11) then
set TwoAllFilled to 1
set TwothisPos to TwothisPos + 1
set the locH of sprite CDXOptionSprite to 2000
updateStage()
set the textSize of member "SelectedEight" to 12
set the boxType of member "SelectedEight" to #adjust
set the textStyle of member "SelectedEight" to "bold"
if the machineType > 200 then
set the textFont of member "SelectedEight" to "Arial"
else
set the textFont of member "SelectedEight" to "Geneva"
end if
updateStage()
end if
case TwoAllFilled of
0:
if (count(CDXTwoRememberlist) <> 0) and (the member of sprite 11 = member "CDXANDORYellow") and (field "SelectedEight" = EMPTY) then
set the memberNum of sprite getAt(getAt(CDXTwoRememberlist, z), 1) to getAt(CDXTwoRememberNamelist, z)
end repeat
repeat with z = 1 to count(CDXTwoRememberSeltextList)
set the loc of sprite getAt(getAt(CDXTwoRememberSeltextList, z), 1) to point(getAt(getAt(CDXTwoRememberSeltextList, z), 2), getAt(getAt(CDXTwoRememberSeltextList, z), 3))
set the memberNum of sprite getAt(getAt(CDXTwoRememberSeltextList, z), 1) to getAt(getAt(CDXTwoRememberSeltextList, z), 4)