IfSpawned
  
  EnableExport
  ShowMap
  ShowYouAreHere

  //Play music
  tmpargument = 26
  tmpdistance = 0
  PlayMusic

IfTimeOut
  SetTargetToSelf
  tmpargument = 25
  SetTime
  
  tmpargument = passage + 1
  SetTargetToWhoeverIsInPassage
  tmpargument = [GOOD]
  IfTargetHasSpecialID
    tmpargument = passage
    OpenPassage
  Else
    tmpargument = passage
    ClosePassage
    
End					// All done
