home *** CD-ROM | disk | FTP | other *** search
- on VolcanoInactivity
- global gInactivities, gCurrentScreen, gDifficultyLevel, gFloatSprite, gJewelStatus, gGameSol
- if gFloatSprite = 0 then
- if value(gInactivities) = VOID then
- gInactivities = "0"
- end if
- nosound = 1
- repeat with i = 1 to 4
- if soundBusy(i) and (i <> 3) then
- nosound = 0
- exit repeat
- end if
- end repeat
- if nosound then
- gInactivities = string(value(gInactivities) + 1)
- whichInactivity = value(gInactivities)
- PromptCount = the number of items in field "744.inactivities"
- if whichInactivity > PromptCount then
- whichInactivity = PromptCount - ((whichInactivity - PromptCount) mod 2)
- end if
- whichResponse = item whichInactivity of field "744.inactivities"
- if whichResponse = "7433" then
- if char 8 of gJewelStatus = "0" then
- HostSound(whichResponse)
- end if
- else
- HostSound(whichResponse)
- end if
- go("flash5")
- QueueHostSound("744128")
- sayTool(gGameSol)
- end if
- end if
- end
-