I have a sprite that is supposed to trigger the player's draw function but doesn't. When the player interacts with this sprite, a variable is increased to 1. I have this in the player's "on draw do" section:
if gaveFlowers==1 then
draw heart at 12,7
gaveFlowers++
end
gaveFlowers is set to 1 when the player interacts with the sprite but the heart does not appear. The heart should appear at the coordinates I list once because the variable is increased again to two after the heart gets drawn. What am I doing "wrong"? I put wrong in quotes because I am looking at the documentation and I feel like I am following what it says. Any help would be appreciated. I'm basically trying to have a heart show up when the player touches this other sprite. Other than this one issue I feel like I am making pretty decent progress using Pulp, but this one issue is making me crazy.