IfSpawned
  tmpargument = 2
  SetState
  tmpargument = 50
  SetTime

IfTimeOut
  IfStateIs2
    tmpargument = 0
    SetState

//Do the trap!
IfStateIs0
  tmpx = weight
  tmpy = 10
  IfXIsLessThanY
    tmpx = selfx - 175
    tmpy = selfy
    tmpdistance = selfz + 2000
    tmpargument = 53
    SpawnExactCharacterXYZ
      tmpargument = 0
      PlayFullSound
      tmpargument = 1
      SetState
      tmpargument = 0
      SendMessage

End
