Loop through the four ghosts instead of repeating code