home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 9
/
cdrt09.iso
/
mac
/
UTAHDEMO
/
SHARED.DIR
/
00737_Script_737
< prev
next >
Wrap
Text File
|
1995-01-13
|
1KB
|
34 lines
-- set up resort nav buttons
on setUpResortNav
global buttonPressed
puppetSprite 20, TRUE
puppetSprite 21, TRUE
if (the type of sprite 20 = 1) then
if rollover (20) then
if (buttonPressed = 2) and (the stillDown) then
set the castNum of sprite (20) to the number of cast "map down"
else if (the stillDown) then
set the castNum of sprite (20) to the number of cast "map up"
else
set the castNum of sprite (20) to the number of cast "map sel"
end if
else
set the castNum of sprite (20) to the number of cast "map up"
end if
end if
if (the type of sprite 21 = 1) then
if rollover (21) then
if (buttonPressed = 7) and (the stillDown) then
set the castNum of sprite (21) to the number of cast "quit down"
else if (the stillDown) then
set the castNum of sprite (21) to the number of cast "quit up"
else
set the castNum of sprite (21) to the number of cast "quit sel"
end if
else
set the castNum of sprite (21) to the number of cast "quit up"
end if
end if