It's not an NPC, the ghosts follow your movements you made in the previous games! So you essentially loop through the same game playing against yourself
Aaaah my bad, thank you for explanations, i will test it again !