this would be so much easier if you would just use events. make your "items" into a character sheet, import it and then do a message asking if you want to purchase ________ for _____ amount. if yes, check if they have money, get item, subtract money, flip self switch to blank page 2 and the object disappears.