Bugs:Super Mario 64 DS
This page details bugs of Super Mario 64 DS.
Yoshi Throwing Animation Glitch
When the player makes and throws an egg, the game gives Yoshi a dummy (null) item to throw, and game logic seeks the nearest enemy to destroy. In the initial releases of the game, due to an oversight in the way animations take priority, a glitch can be performed by stomping on an enemy and then throwing an egg as soon as you land on their head. Yoshi will stop his throwing animation and go into his "holding/throwing" animation. Pressing the lick/throw button will make Yoshi reset and throw nothing. Same thing happens if Yoshi gets hit by an enemy. This glitch is present in all versions of the game, though, interestingly, in the US version this can only be performed on Spindrifts and doesn't work on Goombas.
Subsequent revisions of the game (US Rev 1, EU, JP Rev 1, Korea) actually made this oversight worse: it somehow manages to eat the game code when performed, leading to graphical glitches, the HUD disappearing and game crashes.
Video on the right is performed on the Japanese Rev 1 version of the game.