Subroutine that handles Lemmy Koopa and Wendy O. Koopa's animations when out of a pipe.
The accumulator contains the current phase timer when the routine is called, and is right‐shifted twice then stored to $00. The emerged animation pointer is loaded, left‐shifted four times, ORA'd with $00, and moved to the Y register to serve as an index for which animation frame to use.