I found at least a dozen bugs in your character (I forgot it's name rip), and you didn't even fix it. I am not sure about the definition of "good" you have in your mind, but if your character's attacks are spammable when the enemy is in the corner; then your coding is not good at least by my, and probably many other's, standards.