Pokemon is a registered trademark by Nintendo. As soon as you staple that on your game, it becomes "illegal" so to speak. But it's also worth considering the chances that they will actually care about your fan game enough to require that you shut it down, which is why not a whole lot of people...