Asteroid game errors

I got weird error messages on my code. I’m trying to make an asteroid game prototype, and most of the time when I shoot an asteroid it gives me a message that shouldn’t be there. I’ve tried debugging multiple times. My code is at the address below. I’m also using p5.collide2d for the collision. (Click on edit on OpenProcessing)

Hi, @gmoangher Welcome to the forum.
What type of errors do you get?
I’ve played it some time but all went well.
Nice asteroid game b.t.w.