The issue is that once I reach level 2, my lives drop to 0. I'm guessing it's a bug. Just for context, I'm playing using the .love file.
Viewing post in Oo_Yellow Rollerskate Counter 26_oO jam comments
I took a look at the source code, and the issue is right here:

initLvl only takes 3 parameters, so nextLvlScreen is an extra one that shouldn't be there. Just removing it makes it work.
Also, I noticed another bug: if you die by going out of bounds for too long, your lives drop to zero. This is because the toRestartLvl function gets called in a loop, and since every call drains a life, they all drain at once. You could easily fix it by adding this condition:
