sure in the Predraw (or postdraw, depends where you put your drawsprite code), just do:
Code:
LDA gamepad
AND #%00000001 ;; button "A"
BEQ +notPressed
;; here put your DrawSprite code
+notPressed:
Code:
; gamepad bits:
; 7 - 6 - 5 - 4 - 3 - 2 - 1 - 0
; | | | | | | | + -- A
; | | | | | | +------- B
; | | | | | + ---------- Select
; | | | | +--------------- Start
; | | | +------------------- Up
; | | +----------------------- Down
; | + -------------------------- Left
; +------------------------------- Right