// ZZ> This function makes the button go up or down
tmpx = 60				// Threshold weight
tmpy = weight				// Weight of characters on top
IfXIsLessThanY				//
  tmpargument = 1			  //
  IfStateIs				  // Only go down if it's up
    DoNothing
  Else					  //
    tmpargument = ACTIONMG		    //
    DoAction				    //
      tmpargument = 1			      // 1 is down
      SetState				      //       
      KeepAction			      // Make it stay on last frame
      tmpargument = 5			      //
      SetBumpHeight			      //
      tmpargument = 0
      PlaySound
      SendMessageNear
      tmpargument = 1
      PlayFullSound
      tmpx = passage
      tmpy = 0
      IfXIsEqualToY
        tmpargument = 0			    
        OpenPassage
      Else
        tmpargument = 1			    
        OpenPassage
End					// Finished with this character
