My brain is melting...

Soo... I just spent 3 hours on re-righting the exact same code I had because it generated a bug I never could understand. Now, it's starting to work, I still don't know what whent wrong and I am on my nerves !!!

I love making games, I HATE coding.