home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global Choice, RecipeNum
- if the visible of sprite 21 then
- set currLine to the mouseLine
- set ing to line currLine of field "TarInfo2Temp"
- if field ("fieldRecipe" & RecipeNum) contains ing then
- set l1 to the number of lines in field "shop1"
- if the text of field "shop1" = 0 then
- set l1 to 0
- end if
- set l2 to the number of lines in field "shop2"
- if the text of field "shop2" = 0 then
- set l2 to 0
- end if
- if (the text of field "shop2" contains ing) = 0 then
- put Choice into line l1 + 1 of field "shop1"
- put ing into line l2 + 1 of field "shop2"
- set the text of field "shop1temp" to line 1 to 10 of field "shop1"
- set the text of field "shop2temp" to line 1 to 10 of field "shop2"
- end if
- end if
- end if
- end
-