are you referring to this fire?:
I think they just flip the sprite horizontally to make it look like a dancing flame. They probably do it like this:
Say here's the flame (this fire looks horrid...)
You'd want to store $40 in the sprite's attribute byte to get it to flip. But if your not careful, if you store $40 in every sprite attribute making up that flame, it will look like this:
But say this is what tiles make up the sprite:
00 01
02 03
You'd want to switch those tiles around, and then flip it. Like this:
01 00
03 02
And you'd get this lovely image:
They probably change the attribute from $00 to $40 and from $40 to $00 and swap tile indexes like every 10, 15 frames or so. I don't know for sure, but it looks like that's what they do.
Am I talking out of my ass? Or am I making any sense?