Pokemon has a timeline. Red and blue (or green in Japan), take place at the same time because they are the same game, same characters, just with different monsters to catch. Yellow was based on the same story as the first two with added features, but it still was the same characters and story...