home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 1995 May
/
CdJoystickN°2.iso
/
jewels
/
start.dir
/
00001_Script_1
next >
Wrap
Text File
|
1994-10-19
|
2KB
|
83 lines
on startMovie
global screenRect,cipherPath,jewel, k
InitVars
set the exitLock to TRUE
put findScrnSize() into screenRect
set the preLoadRAM to 1024000
put 0 into jewel
-- store the pathName to the Cipher folder
put the pathName into cipherPath
-- determine file separator marks based on IBM or Macintosh platforms
if (the machineType = 256) then set k = "\"
else set k = ":"
if the colorDepth > 16 then
set the colorDepth to 16
-- else if the colorDepth < 8 then
-- set the colorDepth to 8
end if
end startMovie
on InitVars
global screenRect, cipherPath, puzzle, gemStatus, facing, Hex, animName, Jewel, oracleSpeakData,┬
difficultyLevel,music, k
-- initialize the locals
put 0 into puzzle
put 0 into screenRect
put 0 into cipherPath
put 0 into gemStatus
put 0 into facing
put 0 into Hex
put 0 into animName
put 0 into Jewel
put 0 into oracleSpeakData
put 0 into difficultyLevel
put 0 into music
put 0 into k
end
on jumpFile
global screenRect,cipherPath,k
-- locate the file via a path
put cipherPath & "CIPHER" & k & "STAGE" & k & "STAGE" into myPathName
go movie myPathName
end
on findScrnSize
--
-- This handler establishes the users screen size from the stage
--
put the stageTop * 2 + the stageBottom - the stageTop into Hight
put (the stageLeft + the stageLeft / 38) * 2 + the stageRight - the stageLeft into Width
return (rect(0,0,Width,Hight))
end
on fadeWellDwn
--
end
on clickStop
--
end