home *** CD-ROM | disk | FTP | other *** search
- global gRunChangePath, gPlay, gLNum, gVideoBig
-
- on prepareFrame
- case PlayState() of
- 0:
- gPlay = 0
- Process(0)
- 1:
- gPlay = 1
- 2:
- gPlay = 1
- 3:
- gPlay = 1
- 4:
- Process(4)
- gPlay = 1
- end case
- end
-
- on exitFrame me
- if PlayState() = 2 then
- if (gLNum = [3, VOID, VOID]) or (gLNum = [3, 8, VOID]) then
- if gVideoBig[4] = 0 then
- gVideoBig[4] = "UP"
- go(the frame)
- else
- if gVideoBig[4] <> "STOP" then
- go(the frame)
- else
- Process(2)
- gRunChangePath = 0
- end if
- end if
- else
- Process(2)
- gRunChangePath = 0
- end if
- else
- gRunChangePath = 0
- end if
- end
-
- on isOKToAttach me, aSpriteType, aSpriteNum
- case aSpriteType of
- #graphic:
- return 0
- #script:
- return 1
- end case
- end
-