Okay, for those of you who were having problems[Loud keyboard noises], I made 2 mods (the code is now 110 lines)
Now, near the top of the code, there's a "totalhealth" variable that controls the health of enemies.
And! If you press M on the opening screen, it enables mouse control =)