I didn't expect you to do the work for me.
I see you added a previous instance to the ghost.
You added this code <abs(Ghost.X - Player.X) + abs(Ghost.Y - Player.Y) <= 96>
Not sure what 96 was to mean.... but I think i get the gist of it...I change 96 to the grid size.
but you did what I wanted to do, and had tried but you manage to make it work. I bow to you. Thank you!
I had a lot of useless code that I used for other reason that I forgot to delete, which is why I attempted to set up a less messy file. lol I realize its still messy.