Battleman Towerkill - Championship Edition

The insidious rulers of Al-Sarmalabim have wronged you, and now it's time to get revenge!

Press Z to jump, press it again to smash into the ground, but careful not to fall or it's game over.Press X to slice away at your enemies. Kill the blinking red one, but be sure to grab any loot you might find first, or you're not going to afford upgrades between levels.

Little game i made after messing with some casual dungeon random generation. No sound at all, sorry!

UPDATE: I've optimized the code enough to add a few suggestions from the comments!