//Victory!
IfStateIs0
  IfBumped
    SetTargetToWhoeverBumped
      IfTargetIsAMount			//Check rider instead
        SetTargetToTargetLeftHand
      IfTargetCanOpenStuff
        EnableExport
        BeatModule
        tmpargument = [BEAT]
        AddIDSZ
        tmpargument = ACTIONMJ	      //Open Trap Door
        DoAction
        KeepAction
        tmpargument = 0
        PlaySound			      //  Start the new action
        tmpargument = 1
        SetState
End
