Alternatively, tap Z rapidly until the tipoff. Then pause the game and unpause it.
Note: Is there a difference between these two codes? If not I'd prefer the shorter one.