I have had an idea about how to do this. First, we have to assign a high, unused number to the following sprite. Then we have to create a branch to a subroutine directly after the hero proceeds to move. This is what it will look like, in this specific order:
- Following disabled check
- Surfing/biking check
- Ledge jump check
- Skip following and hidesprite check
- Skip following check
- Applymovement
- Sprite existance check
Another subroutine gets called AFTER the hero sprite has been moved. The only thing it does is making the following sprite face the player.
I haven't tested it out myself, because I lack the ASM skills to do this. I may also have made some very stupid mistakes in this. However, I hope this helps towards creating a fully-working follow me script.(Or should I say routine?)