I am making an RPG game that works with a day system (that does not uses a script, it's all image based) and I need to make the character talk with another one in an ''endless'' path, and I actually don't have the slightless idea of how to do this.
I made this crazy solution...

Click to expand.
What happen here is that MC walks about 3 steps (right to left), his friend which is a NPC says "Yo!" (and the NPC has a custom route of moving left, fast) and then MC goes really slowly. This is bad, because of two reasons-- one, if the player does not advance in the ''Yo!'', NPC will advance too much and MC will not catch up. If player advances the ''Yo!'', MC will actually leave behind NPC and the text will convert to shouting because NPC is very far.
Any help? I want to keep MC and NPC together.
I made this crazy solution...

Click to expand.
What happen here is that MC walks about 3 steps (right to left), his friend which is a NPC says "Yo!" (and the NPC has a custom route of moving left, fast) and then MC goes really slowly. This is bad, because of two reasons-- one, if the player does not advance in the ''Yo!'', NPC will advance too much and MC will not catch up. If player advances the ''Yo!'', MC will actually leave behind NPC and the text will convert to shouting because NPC is very far.
Any help? I want to keep MC and NPC together.