home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- Set_CDcounter(15)
- Set_NEXT(1)
- initLesson()
- CheckForTagWd()
- set the puppet of sprite 38 to 1
- set the puppet of sprite 39 to 1
- end
-
- on TheinitCursor
- initCursorCastNum()
- initCursorList(1)
- set CursorCastNum to getCursor(2)
- cursor([CursorCastNum, CursorCastNum + 1])
- end
-
- on checkScreenStatus
- CheckRollOver()
- CheckSnakeStatus()
- go(the frame)
- end
-
- on BlinkNext
- if (the timer > getTimer()) and not soundBusy(2) then
- startTimer()
- if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
- set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
- else
- set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
- end if
- end if
- end
-
- on GoNext
- if not get_Disabled() then
- sound stop 2
- if Get_NEXT() = 1 then
- go("t1")
- else
- if Get_NEXT() = 2 then
- go("t2")
- else
- if Get_NEXT() = 3 then
- go("t3")
- else
- GoNextMovie()
- exit
- end if
- end if
- end if
- Set_NEXT(Get_NEXT() + 1)
- end if
- end
-
- on stopMovie
- sound stop 1
- unLoad()
- setEmptyCursor()
- end
-
- on GoNextMovie
- PlaySound("GOSOUND.SO1")
- SaveHilite()
- Add_CDcounter(1)
- set cdNum to Get_CDcounter()
- set movieName to item cdNum of Get_CurrentSnakeScreens()
- go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
- end
-
- on clickBtn theBtn, theSprite
- global currBtnVis
- set currBtnVis to theBtn
- sound stop 2
- puppetSprite(theSprite, 3)
- repeat with i = 14 to 17
- UpdateCursors(i, 3)
- end repeat
- set the castNum of sprite theSprite to the number of cast ("BTN" & theBtn & "_v")
- UpdateCursors(theSprite, 0)
- repeat with i = 19 to 20
- UpdateCursors(i, 2)
- end repeat
- go("info-" & theBtn)
- end
-
- on handleExit
- go("reg mode")
- repeat with i = 19 to 21
- UpdateCursors(i, 0)
- end repeat
- end
-