SMW Memory Map
|$7E13F9||1 byte||Player||Flag that sends Mario behind layers.
01 will send him behind objects, 02 will send him behind objects and sprites, and 03 will only send him behind sprites.
Setting to 01 also treats Mario as if he's behind a net, meaning he'll only interact with sprites also behind nets. 02 and 03 will disable sprite interaction altogether.