If it already does, or if the problem persists, I would recommend checking to make sure all of the hammer's frames are evenly 32x32 pixels. You could also post the graphic here and see if we can find the problem that way.
You mean those black pixels that appear next to the hammer? That's likely because one sprite is a bit offset. You'll have to edit the graphic of the hammer again. Make some kind of grid in the editor you're using, if possible, so you know where the sprite has to end.
Alternatively, you can send me the graphic and I'll see what I can do.
I thought so, the problem is that all of the frames are different sizes and they aren't aligned properly, so they come out wrong. Try this: http://www.sendspace.com/file/n1cg89
Actually yeah, I just playtested it and found that myself. The problem there was that the very last frame was showing part of the one above it. Moving the second-to-last frame one pixel upwards cleared that right up: http://www.sendspace.com/file/gjm59q
Yup, I can confirm what Chad said. I also fixed the graphics, but Chad was faster and he's very likely more experienced than me, so... yeah. Use his version.
Last edited by SuperWingedYoshi on Tue Apr 15, 2014 7:33 am, edited 2 times in total.
For the next time you do something like that, here's a tip. If possible in the editor you're using, let the program create a grid for you. Or do some kind of mark so that you know where each sprite has to end.