This patch allows you to have both the Cape Mario and Raccoon Mario powerups in one hack by making a freeram flag to control it. It only applies if you have powerup #$02 (cape).
This patch DOES NOT have any DMA set up to change your graphics, especially if you do it mid level (which you can). I suggest using another patch to allow you to use different gfx.
For example, if you don't plan on allowing the change mid level, Marioexgfx is perfect for that. If you want to make both an always available powerup and be changeable mid level, I'd suggest something else like Huflungdu's seperate gfx patch.
v1.1: Now updated to work with Asar and the SA-1 patch.
Keep in mind that the patch features a bug where the turning around pose uses the wrong tile because that one is a hardcoded tile. That one is less a mistake of the updater and more of the original creator overlooked it which is why we have accepted it due to grandfathering.
Otherwise, that patch is a way to add in more powerups without resorting to resources such as lx5's custom powerups i.e. add new powerup states. It may be difficult to integrate it, at least, considering the powerup state is shared by the cape which means any resource which sets the cape also have to clear the raccoon flag (including the feather itself) and require the use of custom ?-blocks, a modified feather disassembly, item box special and Alt Mario ExGFX but it's still a possible if hacky alternative.