the dog is probably passing over the pooSpot so the condition is never met
if the pooSpot.x is 200 for example..
the dog.x might go from 198 to 202 in a single tick.. it depends on its speed
a way around this would be to change
pspot = int(dog.x)
to
system| is inbetween values:
pspot.x-16 > dog.x > pspot.x+16
this means if the dog is within 16 px of the spot, the condition is met.