spbtn

spbtn <sprite number>,<button number>

Just like the btn command, except it sets up an image button using a sprite. The graphic for the nonclicked state goes in cell 0, the graphic for the clicked state goes in cell 1. Once the button is pressed, it returns the button number as a value.