Pokémon Dash!
Pokémon Dash was the first Pokémon game released for the nintendo DS. The game is about Pokémon racing on tracks that are (usually) not one path, but a more of an island with islands around it on which you (Pikachu) race against other Pokémon. Or your friends, using the multi-player function (local).
It also has a feature that allows you to make tracks by slotting in your GBA Pokémon games and uploading them to Pokémon Dash!'s special cup, and the stronger your Pokémon are, or if you have more then one Pokémon of the same type, the longer you have to finish the Cup. There were also other Special Cups available on special events but nowadays you can't get them anymore.