this was a hard won battle for me. I can't tell if it's good or bad but I managed to write a (NES) sprite tile flip macro that takes a sprite address in ca65 :D
💿💾⚰️