home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global FramesMap, PrevFrame, MensFrames
- if inside(the clickLoc, rect(23, 183, 222, 429)) then
- set theItem to 2
- else
- if inside(the clickLoc, rect(512, 189, 612, 429)) then
- set theItem to 1
- else
- if inside(the clickLoc, rect(122, 229, 512, 379)) then
- set theItem to 3
- else
- if inside(the clickLoc, rect(122, 189, 512, 229)) then
- set theItem to 5
- else
- if inside(the clickLoc, rect(122, 379, 512, 429)) then
- set theItem to 4
- end if
- end if
- end if
- end if
- end if
- updateStage()
- if the frame = (marker(0) + 1) then
- set theLine to (the frame + 2) / 3
- if (theItem = 4) and (char 3 of the name of cast the castNum of sprite 25 = "H") then
- set theItem to 6
- end if
- if char 3 of the name of cast the castNum of sprite (theItem + 19) = "H" then
- if string(item theItem of line theLine of FramesMap) <> "---" then
- go(string(item theItem of line theLine of FramesMap))
- else
- chooseBack(theLine, theItem)
- end if
- else
- if the number of chars in string(theLine) < 3 then
- set theLine to string("0" & theLine)
- end if
- if the number of chars in string(theLine) < 3 then
- set theLine to string("0" & theLine)
- end if
- if MensFrames contains string(theLine) then
- GoDatabase(theLine)
- end if
- end if
- if ((the frame + 2) / 3) <> theLine then
- set PrevFrame to theLine
- end if
- end if
- end
-