Tip: Switch palace switches normally disappear if you replay the level. However, if you insert them as direct Map16 and use the hex-edit at $00EEB2 in the ROM map, you can replay the level without a problem.
Animation rates for both Mario's run animation and his cape animation (as it's flapping in the "wind" from running). Indexed by the absolute value of Mario's X speed, divided by 8. For specifically the run animation, $13E5 is also added to the index.