Change texture of my enemies when eating a seed

hello. good morning. I consult them. I want my main character to automatically change color or texture when destroying a seed. thank you

my character

the seed

the enemy