NPC follow Player Earthbound Style "i will make a video demonstatration bfr next year"

Tried to make another thread guess it was to similar? anyways thats why its worded weird?

Does anybody understand arrays please help thank you

simple drawing ig idk if this helps
Players XY and Animation direction are stored
Partner would follow lets say the 50th stored point
I need To delete data though so it doesnt like overflow??? and the point for the partner changes
idk i dont have experience with arrays


I know how to store it

How do i access this like lets say i wanted to access like number 10 to make a character go there


This is for a partner system like earthbound I watched Totorials for other game engines and im trying to recreate it in GD