global userInfo,catchList,bugEscape,AnsonIntro,helpPhrases,AnsonSprite,AnsonAnims,AnsonActive,bugName,bugCast,currBut,currButDistance,spriteList,timeCheck,animNum,bugInHabitat, currRock,currRockDistance, currLoc,whatMarker,localDir,homeDir,AnnouncerTM,ansonButtonHelp
set bugInHabitat=[[1,4,5,11,12,13,20,24,39,42],[8,9,25,26,27,28,35,38,41,45],[10,18,23,30,36,37,40,43,44,50],[2,6,14,19,22,29,31,32,33,34],[3,7,15,16,17,21,46,47,48,49]]
-------------------------
--INIT MOVIE
-------------------------
set AnsonSprite = 48
--puppetSprite AnsonSprite,TRUE
set lastMapRandom=0
set AnsonActive=FALSE
set catchList=getAt(userInfo,6)
set bugEscape=getAt(userInfo,2)
--set bugName = 26
--set bugCast=25
--puppetSprite bugCast,TRUE
--puppetSprite bugName,TRUE
set downSprite=47
puppetSprite downSprite,TRUE
puppetSprite 44, TRUE
puppetSprite 43, TRUE
set timeCheck=60*4
set animNum=1
createHabitatAnims()
-------------------------
--BUTTON LOCATIONS
-------------------------
set currBut=[point(21, 460), point(101, 460), point(554, 462), point(620, 460)]
set currButDistance=[point(18, 18), point(37, 21), point(28,17), point(18, 18)]
--------------------------
-- SOUND CODE TIMEOUT SET-UP--needs to change timeOut message 6=bottles
--------------------------
-- set timeOutMessages = ["TM_MS1"]
-- set whatMarker="timeOutMap"
set the timeoutScript to "doTimeOut()"
set the timeoutLength to 60 * 60
--------------------------
-- SOUND CODE ANSON HELP--needs to change help message
--------------------------
set helpPhrases = ["AH_MS1","AH_MS2","AH_MS3"]
--------------------------
-- SOUND CODE ANSON INTRO--needs to change intro message
--------------------------
set AnsonIntro = "AH_CH1"
-------------------------
--PRELOADS-selected preloads of all buttons
-------------------------
-- repeat with x in ["help","back","DownProj","UpProj","ReturnDown","?Down","Lid","H-35"]