Just checked the hitbox, it fits the animation. The problem is the hurt box of the boss some times the animation of the boss moved few pixels forward. Gonna fix that later, I m using a stupid method (moving the boss s position frame by frame) I m new to game dev for a month. If you do know some better method to move the boss in attack animation. Plz tell meeeee!
Appreciate your love of the game :D