Nope, it doesn't. If you change your attack to spirit bomb before you kill him it'll say killed with spirit bomb. It only reads whatever attack you currently have selected as what was responsible for killing your opponent, so if you smash someone and select sensu beans just before he dies it'll say you killed him with sensu beans. It's not so much a bug as a tweak.