//-----------------------------------------------------------------------------
// ZZ> Gong sound
IfCleanedUp
  tmpargument = 6
  tmpdistance = 8000
  PlayFullSound


IfTooMuchBaggage
  tmpargument = 8
  tmpdistance = rand & 1023 + 13000
  PlaySound
  tmpargument = 6
  SendMessageNear


IfUsed
  tmpargument = 7
  tmpdistance = rand & 2047 + 13000
  PlaySound


IfKilled				// This reduces the height of the char
  tmpargument = 2			  // Death sound
  tmpdistance = rand & 2047 + 13000	  //
  PlaySound				  //
  tmpargument = 3
  IfArmorIs
    tmpargument = MESSAGECOSTUME
  Else
    tmpargument = MESSAGEDEATH		  // Last words...
  IfTargetIsOnSameTeam			  // Fragged!
    tmpargument = MESSAGEFRAG		    //
    IfTargetIsSelf			    // No, just a damage tile
      tmpargument = MESSAGEACCIDENT           //
  SendMessage				  //
  tmpargument = 65535			  // Drop money
  DropMoney				  //
  DropKeys
  tmpargument = 45			  //
  SetBumpHeight				  //
IfLeaderKilled				// Take control
  BecomeLeader				  //
IfAttacked				// Yell at friends
  SetTargetToWhoeverAttacked		  //
  IfTargetIsOnSameTeam			  //
    tmpargument = MESSAGEOUCH		    //
    SendMessageNear			    //
    tmpargument = 5			    // Stop That sound
    tmpdistance = rand & 2047 + 13000	    //
    PlaySound				    //
  Else					  //
    tmpargument = rand & 1 + 3		    // Damage sounds
    tmpdistance = rand & 2047 + 13000	    //
    PlaySound				    //
End
