Like if I was to press A on an thing I want to buy, I would do, IF BUTTON() AND #A THEN ITEM=ITEM+1 ENDIF Then outside the shop loop I do something like, IF ITEM==1 THEN SPSET 0,50,50 ENDIF