This is a disassembly of sprite 5F in SMW, the swinging platform.
Note: It's kind of messy, and there are almost no comments *because* the code was so messy. If anyone can actually figure out what even half the stuff in here actually does and would want to comment and resubmit it, be my guest.
Note 2: USE THE NO SPRITE TILE LIMITS PATCH if you want this sprite to show up correctly. I can't explain or diagnose it, but when you don't, the graphics sometimes get messed up (and not via missing tiles, either)...and sometimes they don't. I don't know what causes the glitches, but they don't seem to happen when the patch is utilized.